summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_rfapi_basic_sanity/customize.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/customize.py')
-rw-r--r--tests/topotests/bgp_rfapi_basic_sanity/customize.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/topotests/bgp_rfapi_basic_sanity/customize.py b/tests/topotests/bgp_rfapi_basic_sanity/customize.py
index 2c85cf6e9d..9166c57dfc 100644
--- a/tests/topotests/bgp_rfapi_basic_sanity/customize.py
+++ b/tests/topotests/bgp_rfapi_basic_sanity/customize.py
@@ -72,7 +72,7 @@ from lib.topolog import logger
from lib.ltemplate import ltemplateRtrCmd
# Required to instantiate the topology builder class.
-from mininet.topo import Topo
+from lib.micronet_compat import Topo
import shutil
@@ -116,10 +116,6 @@ def ltemplatePreRouterStartHook():
cc = ltemplateRtrCmd()
tgen = get_topogen()
logger.info("pre router-start hook")
- # check for normal init
- if len(tgen.net) == 1:
- logger.info("Topology not configured, skipping setup")
- return False
return True