--- a/tests/test_viewer.py Thu Jul 07 14:27:13 2016 +0800
+++ b/tests/test_viewer.py Fri Jul 08 00:11:51 2016 +0800
with database.transaction():
- url='https://example.com/alice/hello-world',
+ url='https://example.com/alice/test-viewer',
def test_get_project_or_404():
get_project_or_404('butt.cloud', 'cyber', 'wizard-attack')
assert error.value.status_code == 404
- project = get_project_or_404('example.com', 'alice', 'hello-world')
+ project = get_project_or_404('example.com', 'alice', 'test-viewer')
assert project.id is not None
- assert project.url == 'https://example.com/alice/hello-world'
+ assert project.url == 'https://example.com/alice/test-viewer'
class ViewerTestCase(AsyncHTTPTestCase):