Commit 09ea6992 authored by zhifan huang's avatar zhifan huang

test: use absolute import in test_net

use absolute to avoid import twice network_build, which will call twice
exec(fixnemu)
parent 11978100
...@@ -7,8 +7,7 @@ import logging ...@@ -7,8 +7,7 @@ import logging
import random import random
from pathlib2 import Path from pathlib2 import Path
import network_build from re6st.tests.test_network import my_net, network_build, re6st_wrap
import re6st_wrap
PING_PATH = str(Path(__file__).parent.resolve() / "ping.py") PING_PATH = str(Path(__file__).parent.resolve() / "ping.py")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment