Skip to content

Commit

Permalink
fix: unittest discover not work
Browse files Browse the repository at this point in the history
  • Loading branch information
penglei0 committed Dec 7, 2024
1 parent 40e83d2 commit 57919fd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Empty file added src/__init__.py
Empty file.
Empty file added src/core/test/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion src/core/test/config_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from unittest.mock import patch
import yaml
from src.core.config import load_all_tests
from src.core.config import Test, TopologyConfig, LinearTopology
from src.core.config import Test, TopologyConfig
from src.core.topology import TopologyType


Expand Down
Empty file added src/tools/test/__init__.py
Empty file.
8 changes: 4 additions & 4 deletions src/tools/test/util_unittest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import unittest
from .util import is_same_path
from .util import is_base_path
from .util import str_to_mbps
from .util import parse_test_file_name
from src.tools.util import is_same_path
from src.tools.util import is_base_path
from src.tools.util import str_to_mbps
from src.tools.util import parse_test_file_name


class TestIsSamePath(unittest.TestCase):
Expand Down

0 comments on commit 57919fd

Please sign in to comment.