print logbooks; added note on making url configurable
This commit is contained in:
@ -20,11 +20,13 @@ from scilog import Basesnippet, Paragraph
|
||||
tmp = Basesnippet()
|
||||
tmp.id = "2"
|
||||
|
||||
# url = "https://lnode2.psi.ch/api/v1"
|
||||
url = "http://[::1]:3000/"
|
||||
#TODO make this selectable
|
||||
url = "https://lnode2.psi.ch/api/v1"
|
||||
#url = "http://[::1]:3000/"
|
||||
log = SciLog(url)
|
||||
#print(log.token)
|
||||
logbooks = log.get_logbooks(ownerGroup=pgroup)
|
||||
print(logbooks)
|
||||
|
||||
assert len(logbooks) == 1
|
||||
logbook = logbooks[0]
|
||||
|
Reference in New Issue
Block a user