Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.template
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.recipe.template
Commits
c50ca752
Commit
c50ca752
authored
Jan 29, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: normalize "Python 2 is no longer supported" warnings from cryptography
parent
07ecb077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapos/recipe/template/tests.py
slapos/recipe/template/tests.py
+3
-0
No files found.
slapos/recipe/template/tests.py
View file @
c50ca752
...
@@ -41,6 +41,8 @@ def setUp(test):
...
@@ -41,6 +41,8 @@ def setUp(test):
normalize_setuptools_42
=
re
.
compile
(
normalize_setuptools_42
=
re
.
compile
(
'WARNING: The easy_install command is deprecated and will be removed in a future version
\
\
.
\
n
'
),
''
'WARNING: The easy_install command is deprecated and will be removed in a future version
\
\
.
\
n
'
),
''
normalize_cryptography_3_on_python2
=
re
.
compile
(
'.*CryptographyDeprecationWarning: Python 2 is no longer supported.*
\
n
.*
\
n
'
),
''
def
test_suite
():
def
test_suite
():
...
@@ -53,6 +55,7 @@ def test_suite():
...
@@ -53,6 +55,7 @@ def test_suite():
testing
.
normalize_path
,
testing
.
normalize_path
,
testing
.
not_found
,
testing
.
not_found
,
normalize_setuptools_42
,
normalize_setuptools_42
,
normalize_cryptography_3_on_python2
,
)),
)),
)
for
filename
in
[
)
for
filename
in
[
'README.txt'
,
'README.txt'
,
...
...
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