osmo-gsm-tester[master]: config: Fix combination of lists

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Sep 11 13:41:28 UTC 2017


Patch Set 3:

(2 comments)

https://gerrit.osmocom.org/#/c/3722/3/selftest/config_test.ok
File selftest/config_test.ok:

Line 113: {'times': '1', 'label': 'foo', 'trx': [{'nominal power': '10'}, {'nominal power': '12'}], 'type': 'osmo-bts-trx'}
> (just wondering, this requirement of two distinct nominal power values is n
what do you mean? If you only want to restrict the second one, use trx_list: [{}, {'nominal power': 'X'}] in scenario.


https://gerrit.osmocom.org/#/c/3722/3/src/osmo_gsm_tester/config.py
File src/osmo_gsm_tester/config.py:

Line 252:         if t == dict or t == list or t == tuple:
> cosmetic hint: if t in (dict, list, tuple)
I'll apply it.


-- 
To view, visit https://gerrit.osmocom.org/3722
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib7a38f10eb9de338a77bf1fa3afceb9df1532015
Gerrit-PatchSet: 3
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list