comparison tests/test_helpers.py @ 1489:9a6bb3657861

Merge with stable.
author Augie Fackler <raf@durin42.com>
date Sun, 26 Jun 2016 21:10:36 -0400
parents 8d8fc10d0d0a
children
comparison
equal deleted inserted replaced
1478:797c7b58a735 1489:9a6bb3657861
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 fs.close()