Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
5ef25976
Commit
5ef25976
authored
Feb 12, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
df9ba0d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
software/ors-amarisoft/test/test.py
software/ors-amarisoft/test/test.py
+3
-3
No files found.
software/ors-amarisoft/test/test.py
View file @
5ef25976
...
@@ -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
# queryP
i
blished and querySharedPublished return information published by
# queryP
u
blished 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
.
queryP
i
blished
(
cls
.
ref
(
subref
))
return
cls
.
queryP
u
blished
(
cls
.
ref
(
subref
))
@
classmethod
@
classmethod
def
queryP
i
blished
(
cls
,
ref
):
def
queryP
u
blished
(
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
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment