def test_get_extention(self, extention): """Check that get_ext works""" file_name = 'file.{0}'.format(extention) a, b = util.get_ext(file_name) assert a == 'file' assert b == extention.lower()
def _check_get_ext(self, f, fn): """Check that get_ext works""" a, b = util.get_ext(fn) assert_equal(a, 'file') assert_equal(b, f.lower())
def _check_get_ext(self, f, fn): """Check that get_ext works""" a, b = util.get_ext(fn) assert a == 'file' assert b == f.lower()
def _check_get_ext(self, f, fn): """Check that get ext works""" a, b = util.get_ext(fn) assert a == 'file' assert b == f.lower()