Skip to content

Commit 34c1035

Browse files
committed
Merge branch 'develop' of github.com:watson-developer-cloud/python-sdk into assistant
2 parents 3016cb5 + 3162a34 commit 34c1035

8 files changed

Lines changed: 16 additions & 9 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0
2+
current_version = 1.1.1
33
commit = True
44
tag = True
55

examples/conversation_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
conversation = ConversationV1(
66
username='YOUR SERVICE USERNAME',
77
password='YOUR SERVICE PASSWORD',
8-
version='2017-04-21')
8+
version='2018-02-16')
99

1010
# When you send multiple requests for the same conversation, include the
1111
# context object from the previous response.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import os
2020
import sys
2121

22-
__version__ = '1.1.0'
22+
__version__ = '1.1.1'
2323

2424
if sys.argv[-1] == 'publish':
2525
# test server

test/integration/test_discovery_v1.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
import os
44
import watson_developer_cloud
55
import random
6+
import pytest
67

7-
8+
@pytest.mark.skipif(
9+
os.getenv('VCAP_SERVICES') is None, reason='requires VCAP_SERVICES')
810
class Discoveryv1(TestCase):
911
def setUp(self):
1012
self.discovery = watson_developer_cloud.DiscoveryV1(

test/integration/test_speech_to_text_v1.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
from unittest import TestCase
33
import os
44
import watson_developer_cloud
5+
import pytest
56

67

8+
@pytest.mark.skipif(
9+
os.getenv('VCAP_SERVICES') is None, reason='requires VCAP_SERVICES')
710
class TestSpeechToTextV1(TestCase):
811
def setUp(self):
912
self.speech_to_text = watson_developer_cloud.SpeechToTextV1(

test/integration/test_text_to_speech_v1.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# coding: utf-8
22
import unittest
33
import watson_developer_cloud
4+
import pytest
5+
import os
46

5-
7+
@pytest.mark.skipif(
8+
os.getenv('VCAP_SERVICES') is None, reason='requires VCAP_SERVICES')
69
class TestIntegrationTextToSpeechV1(unittest.TestCase):
710
def setUp(self):
811
self.text_to_speech = watson_developer_cloud.TextToSpeechV1(

test/integration/test_visual_recognition.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
from unittest import TestCase
77
import json
88

9-
pytestmark = pytest.mark.skip('Run These Manually, they are destructive')
10-
119

10+
@pytest.mark.skipif(
11+
os.getenv('VCAP_SERVICES') is None, reason='requires VCAP_SERVICES')
1212
class IntegrationTestVisualRecognitionV3(TestCase):
1313
def setUp(self):
1414
self.visual_recognition = watson_developer_cloud.VisualRecognitionV3(
@@ -58,4 +58,3 @@ def test_custom_classifier(self):
5858
assert classifiers is not None
5959

6060
output = self.visual_recognition.delete_classifier(classifier_id)
61-
assert output is not None

watson_developer_cloud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.0'
1+
__version__ = '1.1.1'

0 commit comments

Comments
 (0)