Commit 8f1c5809 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9e6e648c
...@@ -96,4 +96,16 @@ class TestUENRParameters(ORSTestCase): # XXX adjust ...@@ -96,4 +96,16 @@ class TestUENRParameters(ORSTestCase): # XXX adjust
self.assertEqual(conf['ue_list'][0]['impi'], param_dict['impi']) self.assertEqual(conf['ue_list'][0]['impi'], param_dict['impi'])
self.assertEqual(conf['tx_gain'], param_dict['tx_gain']) self.assertEqual(conf['tx_gain'], param_dict['tx_gain'])
self.assertEqual(conf['rx_gain'], param_dict['rx_gain']) self.assertEqual(conf['rx_gain'], param_dict['rx_gain'])
class TestUEMonitorGadgetUrl(ORSTestCase):
@classmethod
def getInstanceParameterDict(cls):
return {'_': json.dumps({'testing': True})}
@classmethod
def getInstanceSoftwareType(cls):
return "ue"
def test_monitor_gadget_url(self):
test_monitor_gadget_url(self)
""" """
...@@ -12,4 +12,6 @@ mkdir snapshot ...@@ -12,4 +12,6 @@ mkdir snapshot
export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot export SLAPOS_TEST_LOG_DIRECTORY=`pwd`/snapshot
#time ../k/kpython_for_test -m unittest discover -vf -k TestENBParameters #time ../k/kpython_for_test -m unittest discover -vf -k TestENBParameters
time ../k/kpython_for_test -m unittest discover -vf -k NBParameters #time ../k/kpython_for_test -m unittest discover -vf -k NBParameters
#time ../k/kpython_for_test -m unittest discover -vf -k CoreNetwork
time ../k/kpython_for_test -m unittest discover -vf -k MonitorGadget
...@@ -375,18 +375,6 @@ class TestCoreNetworkMonitorGadgetUrl(ORSTestCase): ...@@ -375,18 +375,6 @@ class TestCoreNetworkMonitorGadgetUrl(ORSTestCase):
def test_monitor_gadget_url(self): def test_monitor_gadget_url(self):
test_monitor_gadget_url(self) test_monitor_gadget_url(self)
class TestUEMonitorGadgetUrl(ORSTestCase):
@classmethod
def getInstanceParameterDict(cls):
return {'_': json.dumps({'testing': True})}
@classmethod
def getInstanceSoftwareType(cls):
return "ue"
def test_monitor_gadget_url(self):
test_monitor_gadget_url(self)
class TestSimCard(ORSTestCase): class TestSimCard(ORSTestCase):
@classmethod @classmethod
def requestDefaultInstance(cls, state='started'): def requestDefaultInstance(cls, state='started'):
......
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