Test the stop method

This commit is contained in:
Julien Duponchelle
2015-01-15 14:27:33 +01:00
parent 6bb2b88f1a
commit 3abcac43ab
3 changed files with 15 additions and 5 deletions

View File

@ -153,7 +153,7 @@ class Server:
self._loop.run_until_complete(self._run_application(app))
self._signal_handling()
#FIXME: remove it in production
#FIXME: remove it in production or in tests
self._loop.call_later(1, self._reload_hook)
try:
self._loop.run_forever()