File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
mapswipe_workers/tests/unittests Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11import os
22import unittest
33
4- from mapswipe_workers .project_types import StreetTutorial
4+ from mapswipe_workers .project_types import ClassificationTutorial
55from tests .fixtures import FIXTURE_DIR , get_fixture
66
77
88class TestTutorial (unittest .TestCase ):
99 def test_init_tile_classification_project (self ):
1010 tutorial_draft = get_fixture (
11- os .path .join (FIXTURE_DIR , "tutorialDrafts" , "street .json" )
11+ os .path .join (FIXTURE_DIR , "tutorialDrafts" , "tile_classification .json" )
1212 )
13- self .assertIsNotNone (StreetTutorial (tutorial_draft = tutorial_draft ))
13+ self .assertIsNotNone (ClassificationTutorial (tutorial_draft = tutorial_draft ))
1414
1515 def test_create_tile_classification_tasks (self ):
1616 tutorial_draft = get_fixture (
17- os .path .join (FIXTURE_DIR , "tutorialDrafts" , "street .json" )
17+ os .path .join (FIXTURE_DIR , "tutorialDrafts" , "tile_classification .json" )
1818 )
19- tutorial = StreetTutorial (tutorial_draft = tutorial_draft )
19+ tutorial = ClassificationTutorial (tutorial_draft = tutorial_draft )
2020 tutorial .create_tutorial_groups ()
2121 tutorial .create_tutorial_tasks ()
2222 self .assertTrue (tutorial .groups )
2323 self .assertTrue (tutorial .tasks )
24- breakpoint ()
2524
2625
2726if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments