Commit 5ef25976 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent df9ba0d7
...@@ -178,14 +178,14 @@ class AmariTestCase(_AmariTestCase): ...@@ -178,14 +178,14 @@ class AmariTestCase(_AmariTestCase):
# XXX StandaloneSlapOS lacks getInformation - we remember the way instances are requested ourselves. # XXX StandaloneSlapOS lacks getInformation - we remember the way instances are requested ourselves.
_requested = {} # ref -> kw used for slap.request _requested = {} # ref -> kw used for slap.request
# queryPiblished and querySharedPublished return information published by # queryPublished and querySharedPublished return information published by
# an instance / shared instance correspondingly. # an instance / shared instance correspondingly.
@classmethod @classmethod
def querySharedPublished(cls, subref): def querySharedPublished(cls, subref):
return cls.queryPiblished(cls.ref(subref)) return cls.queryPublished(cls.ref(subref))
@classmethod @classmethod
def queryPiblished(cls, ref): def queryPublished(cls, ref):
# see ^^^ about lack of getInformation on StandaloneSlapOS # see ^^^ about lack of getInformation on StandaloneSlapOS
#inst = cls.slap.getInformation(computer_partition=ref) #inst = cls.slap.getInformation(computer_partition=ref)
inst = cls.slap.request(**cls._requested[ref]) inst = cls.slap.request(**cls._requested[ref])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment