コード例 #1
0
 def test_full_path_full(self):
     image_uuid = '/test/image_1'
     result = bs_image.full_path(image_uuid)
     self.assertEqual(image_uuid, result)
コード例 #2
0
 def test_full_path_full(self):
     image_uuid = '/test/image_1'
     result = bs_image.full_path(image_uuid)
     self.assertEqual(image_uuid, result)
コード例 #3
0
 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)
コード例 #4
0
 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)