Skip to content

Commit

Permalink
Rename tests to match the naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodAxe committed Oct 30, 2023
1 parent 5f45aaa commit 17acd2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/deci_core_unit_test_suite_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
TestMixedPrecisionDisabled,
)
from tests.end_to_end_tests import TestTrainer
from tests.unit_tests.convert_from_recipe_tests import TestConvertFromRecipe
from tests.unit_tests.test_convert_recipe_to_code import TestConvertRecipeToCode
from tests.unit_tests.detection_utils_test import TestDetectionUtils
from tests.unit_tests.detection_dataset_test import DetectionDatasetTest, TestParseYoloLabelFile
from tests.unit_tests.export_detection_model_test import TestDetectionModelExport
Expand Down Expand Up @@ -167,7 +167,7 @@ def _add_modules_to_unit_tests_suite(self):
self.unit_tests_suite.addTest(self.test_loader.loadTestsFromModule(PoseEstimationSampleTest))
self.unit_tests_suite.addTest(self.test_loader.loadTestsFromModule(TestMixedPrecisionDisabled))
self.unit_tests_suite.addTest(self.test_loader.loadTestsFromModule(DynamicModelTests))
self.unit_tests_suite.addTest(self.test_loader.loadTestsFromModule(TestConvertFromRecipe))
self.unit_tests_suite.addTest(self.test_loader.loadTestsFromModule(TestConvertRecipeToCode))

def _add_modules_to_end_to_end_tests_suite(self):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pathlib import Path


class TestConvertFromRecipe(unittest.TestCase):
class TestConvertRecipeToCode(unittest.TestCase):
def setUp(self) -> None:
self.recipes_dir: Path = Path(pkg_resources.resource_filename("super_gradients.recipes", ""))
self.recipes_that_should_work = [
Expand Down

0 comments on commit 17acd2c

Please sign in to comment.