Fix unit tests
This commit is contained in:
parent
ab45f6bb52
commit
333c2b2a90
|
@ -44,7 +44,7 @@ class TestAppium(TestCase):
|
||||||
def test_config_creation(self):
|
def test_config_creation(self):
|
||||||
from src import CONFIG_FILE
|
from src import CONFIG_FILE
|
||||||
self.assertFalse(os.path.exists(CONFIG_FILE))
|
self.assertFalse(os.path.exists(CONFIG_FILE))
|
||||||
app.create_node_config('test', '127.0.0.1', 4723, '127.0.0.1', 4444)
|
app.create_node_config('test', 'Chrome', '127.0.0.1', 4723, '127.0.0.1', 4444)
|
||||||
self.assertTrue(os.path.exists(CONFIG_FILE))
|
self.assertTrue(os.path.exists(CONFIG_FILE))
|
||||||
os.remove(CONFIG_FILE)
|
os.remove(CONFIG_FILE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue