Change in osmo-gsm-tester[master]: schema: add missing modem feature 4g to list of valid features

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/.

srs_andre gerrit-no-reply at lists.osmocom.org
Fri Apr 3 20:08:15 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17717 )


Change subject: schema: add missing modem feature 4g to list of valid features
......................................................................

schema: add missing modem feature 4g to list of valid features

otherwise OGT exits with 'Unknown Modem Feature: 4g'

Change-Id: I998e507e08e6c0434b17b986090582347210dd85
---
M src/osmo_gsm_tester/schema.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/17/17717/1

diff --git a/src/osmo_gsm_tester/schema.py b/src/osmo_gsm_tester/schema.py
index 85c5fd6..ed68bb4 100644
--- a/src/osmo_gsm_tester/schema.py
+++ b/src/osmo_gsm_tester/schema.py
@@ -95,7 +95,7 @@
     raise ValueError('Unknown Cipher value: %r' % val)
 
 def modem_feature(val):
-    if val in ('sms', 'gprs', 'voice', 'ussd', 'sim'):
+    if val in ('sms', 'gprs', 'voice', 'ussd', 'sim', '4g'):
         return
     raise ValueError('Unknown Modem Feature: %r' % val)
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17717
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I998e507e08e6c0434b17b986090582347210dd85
Gerrit-Change-Number: 17717
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200403/8558fe33/attachment.htm>


More information about the gerrit-log mailing list