Fixed a bug where test-clean would delete things it shouldn't
This commit is contained in:
parent
8b7dab08bd
commit
9d0d2ae7ef
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ class Test(object):
|
|||
self.options = kwargs.get('options') or ''
|
||||
self.blessedName = blessedName
|
||||
self.artifacts = kwargs.get('artifacts') or ()
|
||||
if isinstance(self.artifacts, str):
|
||||
self.artifacts = [self.artifacts]
|
||||
self.comparisons = kwargs.get('comparisons') or ()
|
||||
self.tolerance = kwargs.get('tolerance') or 1e-5 # error tolerance for CSV comparison
|
||||
self.threshold = kwargs.get('threshold') or 1e-14 # error threshold for CSV comparison
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue