def test__get_local_unsuccessful(self): """ Unit test for _get_local method, local unsuccessful case. """ with self.assertRaises(IOError): FileIO._get_local(TEST_UNKNOWN)
def test__get_local_successful(): """ Unit test for _get_local method, local successful case """ assert isinstance(FileIO._get_local(TEST_LOCAL), bytes)