Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop committed Nov 10, 2023
1 parent 4827ff2 commit 4aa34ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core_tests/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_run_export_task(self, mock_render):
assert task is not None
self.assertEqual(task.status, TaskStatus.completed, task.status_message)
observable_list, filename = mock_render.call_args[0]
self.assertTrue(filename.endswith("/exports/RandomExport"))
self.assertTrue(filename.endswith("/exports/randomexport"))
self.assertEqual(len(observable_list), 4)

self.assertEqual(observable_list[0].value, self.observable1.value)
Expand All @@ -220,7 +220,7 @@ def test_run_export_task_with_config_path(self, mock_render):
assert task is not None
self.assertEqual(task.status, TaskStatus.completed, task.status_message)
_, filename = mock_render.call_args[0]
self.assertEqual(filename, "/tmp/exports/RandomExport")
self.assertEqual(filename, "/tmp/exports/randomexport")
yeti_config.system.export_path = previous

def test_tag_filtering(self):
Expand Down

0 comments on commit 4aa34ea

Please sign in to comment.