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
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
HongzheWang
slapos
Commits
0ded057f
Commit
0ded057f
authored
Dec 30, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5/tests: skip the tests that fail in Python 3 for now
parent
cbefe5a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
software/erp5/test/test/test_erp5.py
software/erp5/test/test/test_erp5.py
+3
-0
No files found.
software/erp5/test/test/test_erp5.py
View file @
0ded057f
...
...
@@ -31,6 +31,7 @@ import glob
from
six.moves.urllib.parse
import
urljoin
,
urlparse
import
socket
import
time
import
unittest
import
psutil
import
requests
...
...
@@ -67,6 +68,7 @@ class TestPublishedURLIsReachableMixin(object):
self
.
assertIn
(
"ERP5"
,
r
.
text
)
@
unittest
.
skipIf
(
six
.
PY3
,
'ERP5 currently supports python 2 only'
)
def
test_published_family_default_v6_is_reachable
(
self
):
"""Tests the IPv6 URL published by the root partition is reachable.
"""
...
...
@@ -74,6 +76,7 @@ class TestPublishedURLIsReachableMixin(object):
self
.
_checkERP5IsReachable
(
urljoin
(
param_dict
[
'family-default-v6'
],
param_dict
[
'site-id'
]))
@
unittest
.
skipIf
(
six
.
PY3
,
'ERP5 currently supports python 2 only'
)
def
test_published_family_default_v4_is_reachable
(
self
):
"""Tests the IPv4 URL published by the root partition is reachable.
"""
...
...
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