mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-30 18:32:19 +00:00
19 lines
550 B
Python
19 lines
550 B
Python
#!/usr/bin/env python
|
|
|
|
import mozrunner
|
|
|
|
import mozrunnertest
|
|
|
|
|
|
class MozrunnerStatesTestCase(mozrunnertest.MozrunnerTestCase):
|
|
|
|
def test_errors_before_start(self):
|
|
"""Bug 965714: Not started errors before start() is called"""
|
|
|
|
def test_returncode():
|
|
return self.runner.returncode
|
|
|
|
self.assertRaises(mozrunner.RunnerNotStartedError, self.runner.is_running)
|
|
self.assertRaises(mozrunner.RunnerNotStartedError, test_returncode)
|
|
self.assertRaises(mozrunner.RunnerNotStartedError, self.runner.wait)
|