comparison tests/test_helpers.py @ 1106:5cb6c95e0283 stable

Merge default and stable so I can do stable releases again.
author Augie Fackler <raf@durin42.com>
date Tue, 11 Feb 2014 12:48:49 -0500
parents d741f536f23a
children 8d8fc10d0d0a
comparison
equal deleted inserted replaced
1020:b5b1fce26f1f 1106:5cb6c95e0283
28 fs.setfile('bb', 'bb') 28 fs.setfile('bb', 'bb')
29 self.assertEqual(1, len(os.listdir(fs._tempdir))) 29 self.assertEqual(1, len(os.listdir(fs._tempdir)))
30 fs.popfile('bb') 30 fs.popfile('bb')
31 self.assertEqual([], os.listdir(fs._tempdir)) 31 self.assertEqual([], os.listdir(fs._tempdir))
32 self.assertRaises(editor.EditingError, lambda: fs.getfile('bb')) 32 self.assertRaises(editor.EditingError, lambda: fs.getfile('bb'))
33
34 def suite():
35 return unittest.TestSuite([
36 unittest.TestLoader().loadTestsFromTestCase(TestHelpers),
37 ])