From 1089a52f3d16c4fef504586cae18a5d324e8d75c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 21 Jun 2012 10:56:30 +1200 Subject: Disconnect, rest refactoring. --- test/test_pathod.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/test_pathod.py') diff --git a/test/test_pathod.py b/test/test_pathod.py index 3fd2388a..36a2d090 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -1,7 +1,6 @@ from libpathod import pathod -from tornado import httpserver -class TestApplication: +class _TestApplication: def test_anchors(self): a = pathod.PathodApp(staticdir=None) a.add_anchor("/foo", "200") @@ -30,6 +29,7 @@ class TestApplication: assert not a.log_by_id(0) -def test_make_server(): - app = pathod.PathodApp() - assert pathod.make_server(app, 0, "127.0.0.1", None) +class TestPathod: + def test_instantiation(self): + pathod.Pathod(("127.0.0.1", 0)) + -- cgit v1.2.3