Skip to content
Snippets Groups Projects
Commit 12c839e5 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

fixed test_timeseries.py

parent 7bbadd34
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@ class TestInit(unittest.TestCase):
def test_timeseries(self):
files = file_search(os.path.dirname(example.__file__), '*.tiff', recursive=True)
files = file_search(os.path.dirname(example.__file__), '*.tif', recursive=True)
addedDates = []
TS = TimeSeries()
TS.sigTimeSeriesDatesAdded.connect(lambda dates: addedDates.append(dates))
TS.sigTimeSeriesDatesAdded.connect(lambda dates: addedDates.extend(dates))
TS.sigTimeSeriesDatesRemoved.connect(lambda dates: [addedDates.remove(d) for d in dates])
for file in files:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment