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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
f73b380c
Commit
f73b380c
authored
Dec 15, 2021
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/cli: remove trailing whitespaces
parent
474f2840
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
slapos/tests/test_cli.py
slapos/tests/test_cli.py
+7
-7
No files found.
slapos/tests/test_cli.py
View file @
f73b380c
...
@@ -63,15 +63,15 @@ import slapos.slap
...
@@ -63,15 +63,15 @@ import slapos.slap
import
supervisor.supervisorctl
import
supervisor.supervisorctl
signature_certificate_list
=
"""-----BEGIN CERTIFICATE-----
signature_certificate_list
=
"""-----BEGIN CERTIFICATE-----
MIIB9jCCAV+gAwIBAgIJAKRvzcy7OH0UMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
MIIB9jCCAV+gAwIBAgIJAKRvzcy7OH0UMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
BAMMCENPTVAtNzcyMCAXDTEyMDgxMDE1NDI1MVoYDzIxMTIwNzE3MTU0MjUxWjAT
BAMMCENPTVAtNzcyMCAXDTEyMDgxMDE1NDI1MVoYDzIxMTIwNzE3MTU0MjUxWjAT
MREwDwYDVQQDDAhDT01QLTc3MjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
MREwDwYDVQQDDAhDT01QLTc3MjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgY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
.
test_url
,
software_url
=
self
.
test_url
,
signature_certificate_list
=
self
.
sign_cert_list
))
signature_certificate_list
=
self
.
sign_cert_list
))
self
.
logger
.
info
.
assert_any_call
(
'Software URL: %s'
,
self
.
logger
.
info
.
assert_any_call
(
'Software URL: %s'
,
u'https://lab.nexedi.com/nexedi/slapos/raw/1.0.102/software/slaprunner/software.cfg'
)
u'https://lab.nexedi.com/nexedi/slapos/raw/1.0.102/software/slaprunner/software.cfg'
)
self
.
logger
.
info
.
assert_any_call
(
'MD5: %s'
,
'cccdc51a07e8c575c880f2d70dd4d458'
)
self
.
logger
.
info
.
assert_any_call
(
'MD5: %s'
,
'cccdc51a07e8c575c880f2d70dd4d458'
)
self
.
logger
.
info
.
assert_any_call
(
u'---------------------------------------------------------------------'
)
self
.
logger
.
info
.
assert_any_call
(
u'---------------------------------------------------------------------'
)
...
@@ -146,7 +146,7 @@ class TestCliCache(CliMixin):
...
@@ -146,7 +146,7 @@ class TestCliCache(CliMixin):
software_url
=
self
.
test_url
,
software_url
=
self
.
test_url
,
signature_certificate_list
=
""
))
signature_certificate_list
=
""
))
self
.
logger
.
info
.
assert_any_call
(
'Software URL: %s'
,
self
.
logger
.
info
.
assert_any_call
(
'Software URL: %s'
,
u'https://lab.nexedi.com/nexedi/slapos/raw/1.0.102/software/slaprunner/software.cfg'
)
u'https://lab.nexedi.com/nexedi/slapos/raw/1.0.102/software/slaprunner/software.cfg'
)
self
.
logger
.
info
.
assert_any_call
(
'MD5: %s'
,
'cccdc51a07e8c575c880f2d70dd4d458'
)
self
.
logger
.
info
.
assert_any_call
(
'MD5: %s'
,
'cccdc51a07e8c575c880f2d70dd4d458'
)
self
.
logger
.
info
.
assert_any_call
(
u'---------------------------------------------------------------------'
)
self
.
logger
.
info
.
assert_any_call
(
u'---------------------------------------------------------------------'
)
...
@@ -169,7 +169,7 @@ class TestCliCacheSource(CliMixin):
...
@@ -169,7 +169,7 @@ class TestCliCacheSource(CliMixin):
self
.
logger
.
info
.
assert_any_call
(
self
.
logger
.
info
.
assert_any_call
(
'Software source URL: %s'
,
'Software source URL: %s'
,
'https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.17.1.tar.xz'
)
'https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.17.1.tar.xz'
)
self
.
logger
.
info
.
assert_any_call
(
self
.
logger
.
info
.
assert_any_call
(
'SHADIR URL: %s'
,
'SHADIR URL: %s'
,
...
...
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