tests/ota_test.py: Allow stand-alone execution

Let's add a __main__ section to allow stand-alone execution via
	python3 ./tests/test_ota.py

Change-Id: Ic3940ac23c7ddc1013e21f41eae6076a11dfd4f4
This commit is contained in:
Harald Welte authored and laforge committed 2024-06-10 11:39:28 +00:00
1 parent 32401a54e6
commit 1aa77c5d74
1 file changed
+3
+3
View File
@@ -299,3 +299,6 @@ class SmsOtaTestCase(OtaTestCase):
self.assertEqual(d.number_of_commands, t['response']['number_of_commands'])
self.assertEqual(d.last_status_word, t['response']['last_status_word'])
self.assertEqual(d.last_response_data, t['response']['last_response_data'])
if __name__ == "__main__":
unittest.main()