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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos
Commits
eb349464
Commit
eb349464
authored
Jan 05, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0391daac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
16 deletions
+7
-16
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+7
-16
No files found.
software/ors-amarisoft/test/test.py
View file @
eb349464
...
...
@@ -138,6 +138,8 @@ PEERCELL5 = NR(520000,38) | NR_PEER(0x77712,22, 75, 0x321)
# XXX doc
class
ENBTestCase
(
AmariTestCase
):
maxDiff
=
None
# want to see full diff in test run log on an error
@
classmethod
def
getInstanceSoftwareType
(
cls
):
return
"enb"
...
...
@@ -288,21 +290,6 @@ class TestENB_SDR(ENBTestCase):
])
assertDict
(
nr_cell_list
[
0
],
dict
(
tdd_ul_dl_config
=
NO
,
rf_port
=
2
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
dl_nr_arfcn
=
430100
,
ul_nr_arfcn
=
392100
,
ssb_nr_arfcn
=
429890
,
band
=
1
,
bandwidth
=
15
,
cell_id
=
0x3
,
n_id_cell
=
0x13
,
tac
=
NO
,
root_sequence_index
=
203
,
))
assertDict
(
nr_cell_list
[
1
],
dict
(
rf_port
=
3
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
dl_nr_arfcn
=
510100
,
ul_nr_arfcn
=
510100
,
ssb_nr_arfcn
=
510010
,
band
=
41
,
bandwidth
=
20
,
cell_id
=
0x4
,
n_id_cell
=
0x14
,
tac
=
NO
,
root_sequence_index
=
204
,
))
assertDict
(
nr_cell_list
[
1
][
'tdd_ul_dl_config'
],
{
'pattern1'
:
dict
(
period
=
5
,
dl_slots
=
7
,
...
...
@@ -321,6 +308,9 @@ class TestENB_SDR(ENBTestCase):
),
dict
(
# CELL4
tdd_ul_dl_config
=
{
'pattern1'
:
dict
(
period
=
5
,
dl_slots
=
7
,
dl_symbols
=
6
,
ul_slots
=
2
,
ul_symbols
=
4
,
)},
rf_port
=
3
,
n_antenna_dl
=
4
,
n_antenna_ul
=
2
,
dl_nr_arfcn
=
510100
,
ul_nr_arfcn
=
510100
,
ssb_nr_arfcn
=
510010
,
band
=
41
,
bandwidth
=
20
,
...
...
@@ -329,7 +319,8 @@ class TestENB_SDR(ENBTestCase):
),
])
assertDict
(
nr_cell_list
[
1
][
'tdd_ul_dl_config'
],
{
'pattern1'
:
dict
(
assertDict
(
nr_cell_list
[
1
][
'tdd_ul_dl_config'
],
{
'pattern1'
:
dict
(
period
=
5
,
dl_slots
=
7
,
dl_symbols
=
6
,
...
...
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