diff options
| author | Chris McDonough <chrism@plope.com> | 2011-11-12 20:05:48 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-11-12 20:05:48 -0500 |
| commit | 8595a7757b9347597e5664cc2c631f494825103e (patch) | |
| tree | 4d4351aa77265658920f5353228a46545d849737 /docs/narr/MyProject/myproject/tests.py | |
| parent | c7b6c1373ff3c971012964ad2dcab069f2548fb2 (diff) | |
| download | pyramid-8595a7757b9347597e5664cc2c631f494825103e.tar.gz pyramid-8595a7757b9347597e5664cc2c631f494825103e.tar.bz2 pyramid-8595a7757b9347597e5664cc2c631f494825103e.zip | |
make myproject project relocatable (as per Ken's changes)
Diffstat (limited to 'docs/narr/MyProject/myproject/tests.py')
| -rw-r--r-- | docs/narr/MyProject/myproject/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/MyProject/myproject/tests.py b/docs/narr/MyProject/myproject/tests.py index 5fa710278..a32165471 100644 --- a/docs/narr/MyProject/myproject/tests.py +++ b/docs/narr/MyProject/myproject/tests.py @@ -10,7 +10,7 @@ class ViewTests(unittest.TestCase): testing.tearDown() def test_my_view(self): - from myproject.views import my_view + from .views import my_view request = testing.DummyRequest() info = my_view(request) self.assertEqual(info['project'], 'MyProject') |
