Pau Espin Pedrol | 78f7c75 | 2018-05-15 13:52:16 +0200 | [diff] [blame^] | 1 | #!/usr/bin/env python3 |
| 2 | from osmo_gsm_tester.testenv import * |
| 3 | |
| 4 | import testlib |
| 5 | suite.test_import_modules_register_for_cleanup(testlib) |
| 6 | from testlib import call_test_setup_run |
| 7 | |
| 8 | def my_bts_setup(bts): |
| 9 | bts.set_num_trx(1) |
| 10 | bts.set_trx_phy_channel(0, 0, 'CCCH+SDCCH4') |
| 11 | bts.set_trx_phy_channel(0, 1, 'SDCCH8') |
| 12 | bts.set_trx_phy_channel(0, 2, 'TCH/F_PDCH') |
| 13 | bts.set_trx_phy_channel(0, 3, 'TCH/F_PDCH') |
| 14 | bts.set_trx_phy_channel(0, 4, 'TCH/F_PDCH') |
| 15 | bts.set_trx_phy_channel(0, 5, 'TCH/F_PDCH') |
| 16 | bts.set_trx_phy_channel(0, 6, 'TCH/F_PDCH') |
| 17 | bts.set_trx_phy_channel(0, 7, 'TCH/F_PDCH') |
| 18 | |
| 19 | # Check that dynamic timeslots work fine with gprs disabled. |
| 20 | |
| 21 | call_test_setup_run(bts_setup_cb=my_bts_setup, gprs_enable=False) |