Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
slapos.core
Commits
21f7ea14
Commit
21f7ea14
authored
Jun 01, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stabilise accounting data.
parent
48b9e662
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
master/product/Vifib/tests/testVifibSlapAllocationScope.py
master/product/Vifib/tests/testVifibSlapAllocationScope.py
+7
-7
No files found.
master/product/Vifib/tests/testVifibSlapAllocationScope.py
View file @
21f7ea14
...
@@ -74,7 +74,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -74,7 +74,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
to owner"""
to owner"""
self
.
computer_partition_amount
=
2
self
.
computer_partition_amount
=
2
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -169,7 +169,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -169,7 +169,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
to owner and its friends"""
to owner and its friends"""
self
.
computer_partition_amount
=
3
self
.
computer_partition_amount
=
3
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -272,7 +272,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -272,7 +272,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
to anybody"""
to anybody"""
self
.
computer_partition_amount
=
2
self
.
computer_partition_amount
=
2
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -344,7 +344,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -344,7 +344,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
"""Check that computer is close it is not only available
"""Check that computer is close it is not only available
to anybody"""
to anybody"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -394,7 +394,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -394,7 +394,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
def
test_allocation_scope_empty
(
self
):
def
test_allocation_scope_empty
(
self
):
"""Check that computer's allocation scope is not set it is unavailable"""
"""Check that computer's allocation scope is not set it is unavailable"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -441,7 +441,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -441,7 +441,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
prepare_open_public_computer
=
"""
prepare_open_public_computer
=
TestVifibSlapWebServiceMixin
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
@@ -764,7 +764,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -764,7 +764,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
if computer is close"""
if computer is close"""
self
.
computer_partition_amount
=
2
self
.
computer_partition_amount
=
2
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
"""
sequence_string
=
self
.
stabilise_accounting
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
CustomerRegisterNewComputer
CustomerRegisterNewComputer
Tic
Tic
...
...
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