Skip to content

Commit 97978cb

Browse files
authored
Merge pull request scylladb#40 from riptano/python-split-ts
Split test requirements
2 parents 8b2e3c8 + ffeb4ac commit 97978cb

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,12 @@ build:
196196
197197
pip install git+ssh://[email protected]/riptano/ccm-private.git
198198
199-
pip install -r test-requirements.txt
199+
if [ -n "$CCM_IS_DSE" ]; then
200+
pip install -r test-datastax-requirements.txt
201+
else
202+
pip install -r test-requirements.txt
203+
fi
204+
200205
pip install nose-ignore-docstring
201206
pip install nose-exclude
202207
pip install service_identity

test-datastax-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-r test-requirements.txt
2+
kerberos
3+
gremlinpython==3.3.4

test-requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ gevent>=1.0
1313
eventlet
1414
cython>=0.20,<0.30
1515
packaging
16-
kerberos
17-
requests
1816
backports.ssl_match_hostname; python_version < '2.7.9'
1917
futurist; python_version >= '3.7'
2018
asynctest; python_version > '3.4'
21-
gremlinpython==3.3.4

tests/unit/advanced/test_auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121

2222
from cassandra.auth import DSEGSSAPIAuthProvider
2323

24+
from tests.integration import requiredse
2425

26+
# This auth provider requires kerberos and puresals
27+
@requiredse
2528
class TestGSSAPI(unittest.TestCase):
2629

2730
def test_host_resolution(self):

0 commit comments

Comments
 (0)