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
Romain Courteaud
slapos
Commits
8772b31f
Commit
8772b31f
authored
Sep 17, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5/test: organize imports
parent
3c8e9a00
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
26 deletions
+18
-26
software/erp5/test/test/benchmarks.py
software/erp5/test/test/benchmarks.py
+0
-1
software/erp5/test/test/test_balancer.py
software/erp5/test/test/test_balancer.py
+4
-5
software/erp5/test/test/test_erp5.py
software/erp5/test/test/test_erp5.py
+3
-4
software/erp5/test/test/test_mariadb.py
software/erp5/test/test/test_mariadb.py
+8
-15
software/erp5/test/test/test_wcfs.py
software/erp5/test/test/test_wcfs.py
+3
-1
No files found.
software/erp5/test/test/benchmarks.py
View file @
8772b31f
...
...
@@ -32,7 +32,6 @@ import pathlib
import
socket
import
struct
import
subprocess
import
time
import
typing
import
urllib.parse
...
...
software/erp5/test/test/test_balancer.py
View file @
8772b31f
...
...
@@ -10,9 +10,8 @@ import tempfile
import
time
import
urllib.parse
from
http.server
import
BaseHTTPRequestHandler
from
unittest
import
mock
import
OpenSSL.SSL
import
pexpect
import
psutil
import
requests
...
...
@@ -21,11 +20,11 @@ from cryptography.hazmat.backends import default_backend
from
cryptography.hazmat.primitives
import
hashes
,
serialization
from
cryptography.hazmat.primitives.asymmetric
import
rsa
from
cryptography.x509.oid
import
NameOID
from
slapos.testing.testcase
import
ManagedResource
from
slapos.testing.utils
import
(
CrontabMixin
,
ManagedHTTPServer
,
findFreeTCPPort
)
from
slapos.testing.utils
import
CrontabMixin
,
ManagedHTTPServer
,
findFreeTCPPort
from
.
import
ERP5InstanceTestCase
,
setUpModule
,
matrix
,
default
from
.
import
ERP5InstanceTestCase
,
default
,
matrix
,
setUpModule
setUpModule
# pyflakes
...
...
software/erp5/test/test/test_erp5.py
View file @
8772b31f
...
...
@@ -37,19 +37,18 @@ import socket
import
sqlite3
import
ssl
import
subprocess
import
sys
import
tempfile
import
time
import
unittest
import
urllib.parse
import
xmlrpc.client
import
psutil
import
requests
import
urllib.parse
import
xmlrpc.client
import
urllib3
from
slapos.testing.utils
import
CrontabMixin
from
.
import
ERP5InstanceTestCase
,
setUpModule
,
matrix
,
default
,
neo
from
.
import
ERP5InstanceTestCase
,
default
,
matrix
,
neo
,
setUpModule
setUpModule
# pyflakes
...
...
software/erp5/test/test/test_mariadb.py
View file @
8772b31f
...
...
@@ -25,28 +25,21 @@
#
##############################################################################
import
os
import
json
import
glob
import
urllib.parse
import
socket
import
sys
import
time
import
contextlib
import
datetime
import
subprocess
import
glob
import
gzip
import
json
import
lzma
import
os
import
subprocess
import
urllib.parse
import
MySQLdb
from
slapos.testing.utils
import
CrontabMixin
from
slapos.testing.utils
import
getPromisePluginParameterDict
from
slapos.testing.utils
import
CrontabMixin
,
getPromisePluginParameterDict
from
.
import
ERP5InstanceTestCase
from
.
import
setUpModule
from
.
import
matrix
from
.
import
default
from
.
import
ERP5InstanceTestCase
,
default
,
matrix
,
setUpModule
setUpModule
# pyflakes
...
...
software/erp5/test/test/test_wcfs.py
View file @
8772b31f
...
...
@@ -22,9 +22,11 @@ import unittest
from
slapos.grid.utils
import
md5digest
from
.
import
ERP5InstanceTestCase
,
setUpModule
as
_setUpModule
from
.
import
ERP5InstanceTestCase
from
.
import
setUpModule
as
_setUpModule
from
.test_erp5
import
TestPublishedURLIsReachableMixin
# skip tests when software release is built with wendelin.core 1.
def
setUpModule
():
_setUpModule
()
...
...
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