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
b0a4ffcd
Commit
b0a4ffcd
authored
Jan 03, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3f3f299a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+5
-2
No files found.
software/ors-amarisoft/test/test.py
View file @
b0a4ffcd
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
import
os
import
os
import
json
import
io
import
io
import
yaml
import
yaml
import
pcpp
import
pcpp
...
@@ -137,7 +138,9 @@ class ENBTestCase(AmariTestCase):
...
@@ -137,7 +138,9 @@ class ENBTestCase(AmariTestCase):
@
classmethod
@
classmethod
def
getInstanceParameterDict
(
cls
):
def
getInstanceParameterDict
(
cls
):
return
json
.
dumps
({...}
)
# XXX + testing=True enb_id, gnb_id
return
{
'_'
:
json
.
dumps
({
'testing'
:
True
,
})}
# XXX + enb_id, gnb_id
# XXX + generic test that verifies ^^^ to be rendered into enb.cfg
# XXX + generic test that verifies ^^^ to be rendered into enb.cfg
...
@@ -174,7 +177,7 @@ class ENBTestCase(AmariTestCase):
...
@@ -174,7 +177,7 @@ class ENBTestCase(AmariTestCase):
software_release
=
cls
.
getSoftwareURL
(),
software_release
=
cls
.
getSoftwareURL
(),
software_type
=
cls
.
getInstanceSoftwareType
(),
software_type
=
cls
.
getInstanceSoftwareType
(),
partition_reference
=
cls
.
ref
(
subref
),
partition_reference
=
cls
.
ref
(
subref
),
filter_kw
=
{
'instance_guid'
:
imain
.
getInstanceGuid
()},
#filter_kw = {'instance_guid': imain.getInstanceGuid()}, XXX "Can only request on embedded computer"
partition_parameter_kw
=
{
'_'
:
json
.
dumps
(
ctx
)},
partition_parameter_kw
=
{
'_'
:
json
.
dumps
(
ctx
)},
shared
=
True
)
shared
=
True
)
...
...
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