mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Better test of pingpost
This commit is contained in:
parent
43d8b661b8
commit
02f22e7283
|
@ -26,6 +26,7 @@ class TestEntrypoint(unittest.TestCase):
|
|||
'POSTGRES_USER': 'newvalue',
|
||||
'POSTGRES_PASSWORD': 'test'}, clear=True):
|
||||
entrypoint.main(('dir',))
|
||||
self.assertTrue(entrypoint.os.environ['DATABASE_URL'])
|
||||
self.assertTrue(mockConn.called)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user