mirror of https://github.com/wooey/Wooey.git
py3 for test_project
This commit is contained in:
parent
a7bf22e68d
commit
772bbba05b
|
@ -41,4 +41,4 @@ class TestProject(TestCase):
|
||||||
proc = subprocess.Popen([PYTHON_INTERPRETTER, DJANGUI_TEST_PROJECT_MANAGE, 'test', 'djangui.tests'],
|
proc = subprocess.Popen([PYTHON_INTERPRETTER, DJANGUI_TEST_PROJECT_MANAGE, 'test', 'djangui.tests'],
|
||||||
env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
stdout, stderr = proc.communicate()
|
stdout, stderr = proc.communicate()
|
||||||
assert ('ok' in stderr.lower()) is True, stderr
|
assert (b'ok' in stderr.lower()) is True, stderr
|
Loading…
Reference in New Issue