removed backend

This commit is contained in:
Wiktor Mazur
2020-05-25 17:02:41 +02:00
parent c867075b2d
commit a2f25750e2
95 changed files with 3 additions and 18539 deletions
+25
View File
@@ -0,0 +1,25 @@
import os
TEST_ENV_ENABLED = bool(os.getenv('TESTING'))
class TestType:
Simple = 'simple'
ZoneChange = 'zone_change'
Healing = 'healing'
_test_types = {
TestType.Simple: TestType.Simple,
TestType.ZoneChange: TestType.ZoneChange,
TestType.Healing: TestType.Healing
}
if TEST_ENV_ENABLED:
test_type = os.getenv('TESTING')
if test_type not in _test_types:
raise Exception('Unavailable GUI test type, avaliable values: {}'.format(
','.join(_test_types.keys())))
TEST_TYPE = _test_types[test_type.lower()]