Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
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
Alain Takoudjou
slapos
Commits
e440182f
Commit
e440182f
authored
Sep 06, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/caddy-frontend/test: use lzma directly
We no longer need backports.lzma now this test is python3 only
parent
4b564bbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
software/caddy-frontend/test/setup.py
software/caddy-frontend/test/setup.py
+0
-1
software/caddy-frontend/test/test.py
software/caddy-frontend/test/test.py
+1
-6
No files found.
software/caddy-frontend/test/setup.py
View file @
e440182f
...
@@ -51,7 +51,6 @@ setup(name=name,
...
@@ -51,7 +51,6 @@ setup(name=name,
# caucase needed to connect to the KeDiFa caucase
# caucase needed to connect to the KeDiFa caucase
'caucase'
,
'caucase'
,
'cryptography'
,
'cryptography'
,
'backports.lzma'
,
],
],
zip_safe
=
True
,
zip_safe
=
True
,
test_suite
=
'test'
,
test_suite
=
'test'
,
...
...
software/caddy-frontend/test/test.py
View file @
e440182f
...
@@ -51,18 +51,13 @@ import urllib.parse
...
@@ -51,18 +51,13 @@ import urllib.parse
import
socket
import
socket
import
sys
import
sys
import
logging
import
logging
import
lzma
import
random
import
random
import
string
import
string
from
slapos.slap.standalone
import
SlapOSNodeInstanceError
from
slapos.slap.standalone
import
SlapOSNodeInstanceError
import
caucase.client
import
caucase.client
import
caucase.utils
import
caucase.utils
try
:
import
lzma
except
ImportError
:
from
backports
import
lzma
import
datetime
import
datetime
from
cryptography
import
x509
from
cryptography
import
x509
...
...
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