We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10a943 commit 3d81165Copy full SHA for 3d81165
tests/test_iland_int.py
@@ -22,10 +22,16 @@
22
USERNAME,
23
PASSWORD)
24
except ImportError:
25
- from .apicreds import (CLIENT_ID,
26
- CLIENT_SECRET,
27
- USERNAME,
28
- PASSWORD)
+ try:
+ from .apicreds import (CLIENT_ID,
+ CLIENT_SECRET,
+ USERNAME,
29
+ PASSWORD)
30
+ except ImportError:
31
+ CLIENT_ID = None
32
+ CLIENT_SECRET = None
33
+ USERNAME = None
34
+ PASSWORD = None
35
36
VDC_UUID = \
37
'res01.ilandcloud.com:urn:vcloud:vdc:a066325d-6be0-4733-8d9f-7687c36f4536'
0 commit comments