def test_full_path_full(self): image_uuid = '/test/image_1' result = bs_image.full_path(image_uuid) self.assertEqual(image_uuid, result)
def test_full_path_not_full(self): image_uuid = 'image_1' result = bs_image.full_path(image_uuid) self.assertEqual(os.path.join(IMAGES_DIR, image_uuid), result)