@@ -19,7 +19,7 @@ def setup_class(cls):
19
19
'X-Watson-Learning-Opt-Out' : '1' ,
20
20
'X-Watson-Test' : '1'
21
21
})
22
- cls .collection_id = '9e5d8394-e9d2-4b53-b88f-da6fce7ad4e3 '
22
+ cls .collection_id = 'a06f7036-0529-49ee-bdf6-82ddec276923 '
23
23
24
24
def test_01_colllections (self ):
25
25
# collection = self.visual_recognition.create_collection(
@@ -30,7 +30,7 @@ def test_01_colllections(self):
30
30
my_collection = self .visual_recognition .get_collection (
31
31
collection_id = self .collection_id ).get_result ()
32
32
assert my_collection is not None
33
- assert my_collection .get ('name' ) == 'do-not-delete-sdk-collection '
33
+ assert my_collection .get ('name' ) == 'sdk-collection- do-not-delete'
34
34
35
35
# updated_collection = self.visual_recognition.update_collection(
36
36
# collection_id=self.collection_id,
@@ -58,9 +58,10 @@ def test_02_images(self):
58
58
# assert add_images is not None
59
59
# image_id = add_images.get('images')[0].get('image_id')
60
60
61
- image_id = 'South_Africa_Luca_Galuzzi_2004_202349062c2307571a3f7edc71fe819f '
61
+ image_id = 'giraffe_00_202349062c2307571a3f7edc71fe819f '
62
62
list_images = self .visual_recognition .list_images (
63
63
self .collection_id ).get_result ()
64
+ print (list_images )
64
65
assert list_images is not None
65
66
66
67
image_details = self .visual_recognition .get_image_details (
@@ -116,7 +117,7 @@ def test_04_objects_and_training(self):
116
117
# assert add_images_result is not None
117
118
# image_id = add_images_result.get('images')[0].get('image_id')
118
119
# assert image_id is not None
119
- image_id = '1280px-Giraffe_Ithala_KZN_South_202349062c2307571a3f7edc71fe819f '
120
+ image_id = 'giraffe_00_202349062c2307571a3f7edc71fe819f '
120
121
121
122
# add image training data
122
123
training_data = self .visual_recognition .add_image_training_data (
0 commit comments