def test_get_path_size(self): """test to see if the path size of a directory is returned""" cart_utils = Cartutils() path = os.path.dirname(os.path.realpath(__file__)) rtn = cart_utils.get_path_size(path) self.assertNotEqual(rtn, 0)
def test_get_path_size(self): """test to see if the path size of a directory is returned""" cart_utils = Cartutils() path = os.path.dirname(os.path.realpath(__file__)) rtn = cart_utils.get_path_size(path + '/../') self.assertNotEqual(rtn, 0)