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
e7e5c85d
Commit
e7e5c85d
authored
Dec 28, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1a552312
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
software/ors-amarisoft/test/test_ors.py
software/ors-amarisoft/test/test_ors.py
+2
-7
No files found.
software/ors-amarisoft/test/test_ors.py
View file @
e7e5c85d
...
...
@@ -168,8 +168,8 @@ def test_enb_conf(self):
self
.
assertEqual
(
cell
[
'uldl_config'
],
6
)
self
.
assertEqual
(
cell
[
'dl_earfcn'
],
enb_param_dict
[
'dl_earfcn'
])
self
.
assertEqual
(
cell
[
'n_rb_dl'
],
50
)
# XXX gnb_id not in conf
self
.
assertEqual
(
conf
[
'enb_id'
],
int
(
enb_param_dict
[
'enb_id'
],
16
))
self
.
assertNotIn
(
'gnb_id'
,
conf
)
self
.
assertEqual
(
cell
[
'n_id_cell'
],
enb_param_dict
[
'pci'
])
self
.
assertEqual
(
cell
[
'tac'
],
int
(
enb_param_dict
[
'tac'
],
16
))
self
.
assertEqual
(
cell
[
'root_sequence_index'
],
int
(
enb_param_dict
[
'root_sequence_index'
]))
...
...
@@ -205,6 +205,7 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
nr_cell
[
'dl_nr_arfcn'
],
gnb_param_dict1
[
'dl_nr_arfcn'
])
self
.
assertEqual
(
nr_cell
[
'band'
],
gnb_param_dict1
[
'nr_band'
])
self
.
assertEqual
(
nr_cell
[
'ssb_pos_bitmap'
],
gnb_param_dict1
[
'ssb_pos_bitmap'
])
self
.
assertEqual
(
nr_cell
[
'bandwidth'
],
gnb_param_dict1
[
'nr_bandwidth'
])
self
.
assertEqual
(
nr_cell
[
'n_id_cell'
],
gnb_param_dict1
[
'pci'
])
self
.
assertNotIn
(
'enb_id'
,
conf
)
self
.
assertEqual
(
conf
[
'gnb_id'
],
int
(
gnb_param_dict1
[
'gnb_id'
],
16
))
...
...
@@ -236,12 +237,6 @@ def test_gnb_conf1(self):
self
.
assertEqual
(
int
(
tdd_config
[
'ul_slots'
]),
1
)
self
.
assertEqual
(
int
(
tdd_config
[
'ul_symbols'
]),
2
)
1
/
0
# XXX
with
open
(
conf_file
,
'r'
)
as
f
:
for
l
in
f
:
if
l
.
startswith
(
'#define NR_BANDWIDTH'
):
self
.
assertIn
(
str
(
gnb_param_dict1
[
'nr_bandwidth'
]),
l
)
def
test_gnb_conf2
(
self
):
conf_file
=
glob
.
glob
(
os
.
path
.
join
(
...
...
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