diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-31 01:46:25 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-31 01:46:25 -0500 |
| commit | 4aa2eb5f970b812a96480e2cd7c18c1103b844c8 (patch) | |
| tree | eb1406080661b3cf8b5b3ad2935992863b654f00 /tests/test_scaffolds/test_init.py | |
| parent | 26ff2bf625f426f90abb313e9e028fc16308d105 (diff) | |
| download | pyramid-4aa2eb5f970b812a96480e2cd7c18c1103b844c8.tar.gz pyramid-4aa2eb5f970b812a96480e2cd7c18c1103b844c8.tar.bz2 pyramid-4aa2eb5f970b812a96480e2cd7c18c1103b844c8.zip | |
initial work removing pcreate
Diffstat (limited to 'tests/test_scaffolds/test_init.py')
| -rw-r--r-- | tests/test_scaffolds/test_init.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/test_scaffolds/test_init.py b/tests/test_scaffolds/test_init.py deleted file mode 100644 index 6238915f6..000000000 --- a/tests/test_scaffolds/test_init.py +++ /dev/null @@ -1,22 +0,0 @@ -import unittest - - -class TestPyramidTemplate(unittest.TestCase): - def _makeOne(self): - from pyramid.scaffolds import PyramidTemplate - - return PyramidTemplate('name') - - def test_pre(self): - inst = self._makeOne() - vars = {'package': 'one'} - inst.pre('command', 'output dir', vars) - self.assertTrue(vars['random_string']) - self.assertEqual(vars['package_logger'], 'one') - - def test_pre_root(self): - inst = self._makeOne() - vars = {'package': 'root'} - inst.pre('command', 'output dir', vars) - self.assertTrue(vars['random_string']) - self.assertEqual(vars['package_logger'], 'app') |
