Esempio n. 1
0
 def test_non_readable_file(self):
     with self.assertRaises(Error) as cm:
         readable_file(__class__.NOT_EXISTING_FILE)
Esempio n. 2
0
 def test_readable_file(self):
     self.assertEqual(__class__.EXISTING_FILE,
                      readable_file(__class__.EXISTING_FILE))