summaryrefslogtreecommitdiff
path: root/tests/test_scaffolds/test_init.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-31 01:46:25 -0500
committerMichael Merickel <michael@merickel.org>2018-10-31 01:46:25 -0500
commit4aa2eb5f970b812a96480e2cd7c18c1103b844c8 (patch)
treeeb1406080661b3cf8b5b3ad2935992863b654f00 /tests/test_scaffolds/test_init.py
parent26ff2bf625f426f90abb313e9e028fc16308d105 (diff)
downloadpyramid-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.py22
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')