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
Léo-Paul Géneau
slapos.core
Commits
bb767cc0
Commit
bb767cc0
authored
Sep 13, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapformat test: change 'bridge' to 'interface'
parent
3dc8d880
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
slapos/tests/slapformat.py
slapos/tests/slapformat.py
+8
-8
No files found.
slapos/tests/slapformat.py
View file @
bb767cc0
...
@@ -212,7 +212,7 @@ class TestComputer(SlapformatMixin):
...
@@ -212,7 +212,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_empty_prepared
(
self
):
def
test_construct_empty_prepared
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
computer
.
construct
()
computer
.
construct
()
...
@@ -231,7 +231,7 @@ class TestComputer(SlapformatMixin):
...
@@ -231,7 +231,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_empty_prepared_no_alter_user
(
self
):
def
test_construct_empty_prepared_no_alter_user
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
computer
.
construct
(
alter_user
=
False
)
computer
.
construct
(
alter_user
=
False
)
...
@@ -246,7 +246,7 @@ class TestComputer(SlapformatMixin):
...
@@ -246,7 +246,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_empty_prepared_no_alter_network
(
self
):
def
test_construct_empty_prepared_no_alter_network
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
computer
.
construct
(
alter_network
=
False
)
computer
.
construct
(
alter_network
=
False
)
...
@@ -265,7 +265,7 @@ class TestComputer(SlapformatMixin):
...
@@ -265,7 +265,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_empty_prepared_no_alter_network_user
(
self
):
def
test_construct_empty_prepared_no_alter_network_user
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
computer
.
construct
(
alter_network
=
False
,
alter_user
=
False
)
computer
.
construct
(
alter_network
=
False
,
alter_user
=
False
)
...
@@ -281,7 +281,7 @@ class TestComputer(SlapformatMixin):
...
@@ -281,7 +281,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_prepared
(
self
):
def
test_construct_prepared
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
...
@@ -325,7 +325,7 @@ class TestComputer(SlapformatMixin):
...
@@ -325,7 +325,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_prepared_no_alter_user
(
self
):
def
test_construct_prepared_no_alter_user
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
...
@@ -363,7 +363,7 @@ class TestComputer(SlapformatMixin):
...
@@ -363,7 +363,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_prepared_no_alter_network
(
self
):
def
test_construct_prepared_no_alter_network
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
...
@@ -403,7 +403,7 @@ class TestComputer(SlapformatMixin):
...
@@ -403,7 +403,7 @@ class TestComputer(SlapformatMixin):
def
test_construct_prepared_no_alter_network_user
(
self
):
def
test_construct_prepared_no_alter_network_user
(
self
):
computer
=
slapos
.
format
.
Computer
(
'computer'
,
computer
=
slapos
.
format
.
Computer
(
'computer'
,
bridge
=
slapos
.
format
.
Bridg
e
(
'bridge'
,
'127.0.0.1/16'
))
interface
=
slapos
.
format
.
Interfac
e
(
'bridge'
,
'127.0.0.1/16'
))
computer
.
instance_root
=
'/instance_root'
computer
.
instance_root
=
'/instance_root'
computer
.
software_root
=
'/software_root'
computer
.
software_root
=
'/software_root'
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
partition
=
slapos
.
format
.
Partition
(
'partition'
,
'/part_path'
,
...
...
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