Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
8f1c5809
Commit
8f1c5809
authored
Dec 28, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9e6e648c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+12
-0
software/ors-amarisoft/test/test.sh
software/ors-amarisoft/test/test.sh
+3
-1
software/ors-amarisoft/test/test_ors.py
software/ors-amarisoft/test/test_ors.py
+0
-12
No files found.
software/ors-amarisoft/test/test.py
View file @
8f1c5809
...
...
@@ -96,4 +96,16 @@ class TestUENRParameters(ORSTestCase): # XXX adjust
self.assertEqual(conf['ue_list'][0]['impi'], param_dict['impi'])
self.assertEqual(conf['tx_gain'], param_dict['tx_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)
"""
software/ors-amarisoft/test/test.sh
View file @
8f1c5809
...
...
@@ -12,4 +12,6 @@ mkdir 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
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
software/ors-amarisoft/test/test_ors.py
View file @
8f1c5809
...
...
@@ -375,18 +375,6 @@ class TestCoreNetworkMonitorGadgetUrl(ORSTestCase):
def
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
):
@
classmethod
def
requestDefaultInstance
(
cls
,
state
=
'started'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment