-
Notifications
You must be signed in to change notification settings - Fork 3
/
testconfig.py
38 lines (26 loc) · 988 Bytes
/
testconfig.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from artichoke import DefaultManager
from artichoke.helpers import read
class ISQLWrapperTestManager(DefaultManager):
def Global__host(self):
query = "Select test virtuso host"
default = "localhost"
return read(query, default=default)
def Global__user(self):
query = "Select test virtuso user"
default = "dba"
return read(query, default=default)
def Global__password(self):
query = "Select test virtuso password"
return read(query)
def Global__graph(self):
query = "Select test graph name"
default = "https://github.com/juanique/artichoke/test"
return read(query, default=default)
def Global__endpoint_port(self):
query = "Select endpoint port"
default = 8890
return read(query, default=default)
def Global__endpoint_path(self):
query = "Select endpoint path"
default = "/sparql"
return read(query, default=default)