py3 for test_project

This commit is contained in:
Chris Mitchell 2015-06-01 13:04:58 -04:00
parent a7bf22e68d
commit 772bbba05b
1 changed files with 1 additions and 1 deletions

View File

@ -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