Skip to content

Commit da46146

Browse files
committed
Folder named changed
1 parent 3888b90 commit da46146

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_project.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def setUpClass(cls):
6464
walking_labels.label_not_behavior(1001, 2000)
6565

6666
# and manually place the .json file in the project directory
67-
with (cls._EXISTING_PROJ_PATH / 'rotta' / 'annotations' /
67+
with (cls._EXISTING_PROJ_PATH / 'jabs' / 'annotations' /
6868
Path(cls._FILENAMES[0]).with_suffix('.json')
6969
).open('w', newline='\n') as f:
7070
json.dump(labels.as_dict(), f)
@@ -84,14 +84,14 @@ def test_create(self):
8484
# make sure that the empty project directory was created
8585
self.assertTrue(project_dir.exists())
8686

87-
# make sure the rotta directory was created
87+
# make sure the jabs directory was created
8888
self.assertTrue((project_dir / Project._PROJ_DIR).exists())
8989

90-
# make sure the rotta/annotations directory was created
90+
# make sure the jabs/annotations directory was created
9191
self.assertTrue(
9292
(project_dir / Project._PROJ_DIR / 'annotations').exists())
9393

94-
# make sure the rotta/predictions directory was created
94+
# make sure the jabs/predictions directory was created
9595
self.assertTrue(
9696
(project_dir / Project._PROJ_DIR / 'predictions').exists())
9797

@@ -106,7 +106,7 @@ def test_load_annotations(self):
106106
""" test loading annotations from a saved project """
107107
labels = self.project.load_video_labels(self._FILENAMES[0])
108108

109-
with (self._EXISTING_PROJ_PATH / 'rotta' / 'annotations' /
109+
with (self._EXISTING_PROJ_PATH / 'jabs' / 'annotations' /
110110
Path(self._FILENAMES[0]).with_suffix('.json')).open('r') as f:
111111
dict_from_file = json.load(f)
112112

@@ -129,7 +129,7 @@ def test_save_annotations(self):
129129

130130
# make sure the .json file in the project directory matches the new
131131
# state
132-
with (self._EXISTING_PROJ_PATH / 'rotta' / 'annotations' /
132+
with (self._EXISTING_PROJ_PATH / 'jabs' / 'annotations' /
133133
Path(self._FILENAMES[0]).with_suffix('.json')).open('r') as f:
134134
dict_from_file = json.load(f)
135135

0 commit comments

Comments
 (0)