aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-05-04 16:14:26 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-05-04 16:42:51 +0200
commit2831de5790d900c292abddbd3b347424fec37200 (patch)
tree84d4181ddbf1932820acf399f2fed26f079f81da /example
parent0cb4522a92598b6aaf0140088c103ba902781f09 (diff)
move /example/suites to /suites
/suites will be the definitive GSM tests collection where everyone should contribute. Since we're using /example on our current osmo-gsm-tester setup actually as-is, change paths.conf to point at ../suites. Change-Id: I7a4d0161d3dcb3a0c723b0b96db85dd032cc2159
Diffstat (limited to 'example')
-rw-r--r--example/paths.conf2
-rwxr-xr-xexample/suites/sms/mo_mt_sms.py27
-rw-r--r--example/suites/sms/suite.conf10
3 files changed, 1 insertions, 38 deletions
diff --git a/example/paths.conf b/example/paths.conf
index bb7316c..3458a1d 100644
--- a/example/paths.conf
+++ b/example/paths.conf
@@ -1,3 +1,3 @@
state_dir: './state'
-suites_dir: './suites'
+suites_dir: '../suites'
scenarios_dir: './scenarios'
diff --git a/example/suites/sms/mo_mt_sms.py b/example/suites/sms/mo_mt_sms.py
deleted file mode 100755
index 7176197..0000000
--- a/example/suites/sms/mo_mt_sms.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python3
-from osmo_gsm_tester.test import *
-
-print('use resources...')
-nitb = suite.nitb()
-bts = suite.bts()
-ms_mo = suite.modem()
-ms_mt = suite.modem()
-
-print('start nitb and bts...')
-nitb.bts_add(bts)
-nitb.start()
-sleep(1)
-assert nitb.running()
-bts.start()
-
-nitb.subscriber_add(ms_mo)
-nitb.subscriber_add(ms_mt)
-
-ms_mo.connect(nitb)
-ms_mt.connect(nitb)
-print(ms_mo.properties())
-print(ms_mt.properties())
-wait(nitb.subscriber_attached, ms_mo, ms_mt)
-
-sms = ms_mo.sms_send(ms_mt.msisdn)
-wait(ms_mt.sms_was_received, sms)
diff --git a/example/suites/sms/suite.conf b/example/suites/sms/suite.conf
deleted file mode 100644
index 4a03379..0000000
--- a/example/suites/sms/suite.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-resources:
- nitb_iface:
- - times: 1
- bts:
- - times: 1
- modem:
- - times: 2
-
-defaults:
- timeout: 60s