Change in osmo-gsm-tester[master]: Always initialize the _started in the test

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

Holger Freyther gerrit-no-reply at lists.osmocom.org
Wed Aug 29 03:42:16 UTC 2018


Holger Freyther has uploaded this change for review. ( https://gerrit.osmocom.org/10685


Change subject: Always initialize the _started in the test
......................................................................

Always initialize the _started in the test

We don't know at which state the termiation routine will be
called and it is best to have a fully initialized object. In
prepare we start with a fresh list just to be sure.

Change-Id: I675772c89e32620da5695aa4793b735cc266684c
---
M src/osmo_ms_driver/location_update_test.py
1 file changed, 1 insertion(+), 0 deletions(-)



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

diff --git a/src/osmo_ms_driver/location_update_test.py b/src/osmo_ms_driver/location_update_test.py
index e83d91b..010c278 100644
--- a/src/osmo_ms_driver/location_update_test.py
+++ b/src/osmo_ms_driver/location_update_test.py
@@ -83,6 +83,7 @@
         self._event_server = event_server
         self._event_server.register(self.handle_msg)
         self._unstarted = copy(self._mobiles)
+        self._started = []
 
     def mobiles(self):
         return self._mobiles

-- 
To view, visit https://gerrit.osmocom.org/10685
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I675772c89e32620da5695aa4793b735cc266684c
Gerrit-Change-Number: 10685
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180829/26e3319e/attachment.htm>


More information about the gerrit-log mailing list