Skip to content

Commit

Permalink
fix relative path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlou05 committed Jul 9, 2024
1 parent d2aa55e commit 27c5991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion network/test_tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Since the socket may be using either IPv4 or IPv6, do not specify 127.0.0.1 or ::1.
# Instead, use localhost if wanting to test on same the machine
SERVER_PORT = 8080
ROOT_DIR = Path("D:/", "WARG", "common")
ROOT_DIR = Path(__file__).parent.parent


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion network/test_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Since the socket may be using either IPv4 or IPv6, do not specify 127.0.0.1 or ::1.
# Instead, use localhost if wanting to test on same the machine.
SERVER_PORT = 8080
ROOT_DIR = Path("D:/", "WARG", "common") # Replace with directory to common, module root dir
ROOT_DIR = Path(__file__).parent.parent


@pytest.fixture
Expand Down

0 comments on commit 27c5991

Please sign in to comment.