Skip to content

Commit

Permalink
added test for unittest config
Browse files Browse the repository at this point in the history
  • Loading branch information
peta15 committed Nov 12, 2012
1 parent 922f452 commit a9f1b25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def setUp(self):
def tearDown(self):
self.testbed.deactivate()

def test_config_environment(self):
self.assertEquals(self.app.config.get('environment'), 'testing')

class ModelTest(unittest.TestCase):
def setUp(self):
Expand Down

0 comments on commit a9f1b25

Please sign in to comment.