mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Fix test error on Python 3.x.
This commit is contained in:
parent
6ce3740365
commit
f7629aa84c
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ class MainTests(TestCase):
|
|||
manage_args = ['python', os.path.join(ROOT_DIR, 'manage.py')]
|
||||
proc = subprocess.Popen(manage_args + ['test', '--help'],
|
||||
stdout=subprocess.PIPE)
|
||||
self.assertIn('--configuration', proc.communicate()[0])
|
||||
self.assertIn('--configuration', proc.communicate()[0].decode('utf-8'))
|
||||
proc = subprocess.Popen(manage_args + ['runserver', '--help'],
|
||||
stdout=subprocess.PIPE)
|
||||
self.assertIn('--configuration', proc.communicate()[0])
|
||||
self.assertIn('--configuration', proc.communicate()[0].decode('utf-8'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue