Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon committed Aug 18, 2020
1 parent 906e02d commit 5d723df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def test_list_annotation_paths_recursively(self):
# read annotations paths
annotation_paths = list_annotation_paths_recursively(directory, ignore_background_only_ones=True)
self.assertEqual(len(annotation_paths), 90)
self.assertEqual(annotation_paths[3], '01_alb_id/ground_truth/HA/HA01_04.json')
self.assertNotEqual(annotation_paths[3][0], '/')
self.assertEqual(isinstance(annotation_paths[3], str), True)

def test_download(self):
from midv500.utils import download
Expand Down

0 comments on commit 5d723df

Please sign in to comment.