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
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
Léo-Paul Géneau
slapos.core
Commits
a630757b
Commit
a630757b
authored
Aug 17, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip tests as future is undecided yet.
parent
895da589
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
master/bt5/vifib_slapos_rest_api_v1_test/TestTemplateItem/testVifibSlaposRestAPIV1.py
..._api_v1_test/TestTemplateItem/testVifibSlaposRestAPIV1.py
+11
-0
master/bt5/vifib_slapos_rest_api_v1_test/bt/revision
master/bt5/vifib_slapos_rest_api_v1_test/bt/revision
+1
-1
No files found.
master/bt5/vifib_slapos_rest_api_v1_test/TestTemplateItem/testVifibSlaposRestAPIV1.py
View file @
a630757b
...
...
@@ -12,6 +12,8 @@ from App.Common import rfc1123_date
from
DateTime
import
DateTime
import
time
from
Products.ERP5Type.tests.backportUnittest
import
skip
class
Simulator
:
def
__init__
(
self
,
outfile
,
method
):
self
.
outfile
=
outfile
...
...
@@ -169,6 +171,7 @@ class VifibSlaposRestAPIV1Mixin(VifibSlaposRestAPIV1MixinBase):
set
([
str
])
)
@
skip
(
'Undecided.'
)
class
TestInstanceRequest
(
VifibSlaposRestAPIV1Mixin
):
def
test_not_logged_in
(
self
):
self
.
connection
.
request
(
method
=
'POST'
,
...
...
@@ -456,6 +459,7 @@ class TestInstanceRequest(VifibSlaposRestAPIV1Mixin):
self
.
assertPersonRequestSimulatorEmpty
()
# and with correct ones are set by default
@
skip
(
'Undecided.'
)
class
TestInstanceOPTIONS
(
VifibSlaposRestAPIV1Mixin
):
def
test_OPTIONS_not_logged_in
(
self
):
self
.
connection
=
CustomHeaderHTTPConnection
(
host
=
self
.
api_netloc
,
...
...
@@ -470,6 +474,7 @@ class TestInstanceOPTIONS(VifibSlaposRestAPIV1Mixin):
self
.
assertResponseNoContentType
()
self
.
assertPersonRequestSimulatorEmpty
()
@
skip
(
'Undecided.'
)
class
VifibSlaposRestAPIV1InstanceMixin
(
VifibSlaposRestAPIV1Mixin
):
def
afterSetUp
(
self
):
VifibSlaposRestAPIV1Mixin
.
afterSetUp
(
self
)
...
...
@@ -515,6 +520,7 @@ class VifibSlaposRestAPIV1InstanceMixin(VifibSlaposRestAPIV1Mixin):
software_instance
.
recursiveImmediateReindexObject
()
transaction
.
commit
()
@
skip
(
'Undecided.'
)
class
TestInstanceGET
(
VifibSlaposRestAPIV1InstanceMixin
):
def
test_non_existing
(
self
):
non_existing
=
'software_instance_module/'
+
self
.
generateNewId
()
...
...
@@ -723,6 +729,7 @@ class TestInstanceGET(VifibSlaposRestAPIV1InstanceMixin):
self
.
assertBasicResponse
()
self
.
assertResponseCode
(
404
)
@
skip
(
'Undecided.'
)
class
TestInstanceGETcertificate
(
VifibSlaposRestAPIV1InstanceMixin
):
def
test
(
self
):
self
.
connection
.
request
(
method
=
'GET'
,
...
...
@@ -817,6 +824,7 @@ class VifibSlaposRestAPIV1BangMixin(VifibSlaposRestAPIV1InstanceMixin):
[{
'recargs'
:
args
,
'reckwargs'
:
kwargs
,
'recmethod'
:
'bang'
}])
@
skip
(
'Undecided.'
)
class
TestInstancePOSTbang
(
VifibSlaposRestAPIV1BangMixin
):
def
test
(
self
):
kwargs
=
{
'log'
:
'This is cool log!'
,
'bang_tree'
:
True
}
...
...
@@ -975,6 +983,7 @@ class TestInstancePOSTbang(VifibSlaposRestAPIV1BangMixin):
self
.
assertEqual
({
'log'
:
'bool is not unicode.'
},
self
.
json_response
)
self
.
assertInstanceBangSimulatorEmpty
()
@
skip
(
'Undecided.'
)
class
TestInstancePUT
(
VifibSlaposRestAPIV1InstanceMixin
):
def
afterSetUp
(
self
):
super
(
TestInstancePUT
,
self
).
afterSetUp
()
...
...
@@ -1142,6 +1151,7 @@ class TestInstancePUT(VifibSlaposRestAPIV1InstanceMixin):
self
.
assertResponseCode
(
204
)
self
.
assertInstancePUTSimulatorEmpty
()
@
skip
(
'Undecided.'
)
class
TestInstanceGETlist
(
VifibSlaposRestAPIV1InstanceMixin
):
def
assertLastModifiedHeader
(
self
):
calculated
=
rfc1123_date
(
self
.
portal
.
software_instance_module
\
...
...
@@ -1285,6 +1295,7 @@ class TestInstanceGETlist(VifibSlaposRestAPIV1InstanceMixin):
self
.
assertTrue
(
'Bearer realm="'
in
auth
)
self
.
assertPersonRequestSimulatorEmpty
()
@
skip
(
'Undecided.'
)
class
TestComputerPUT
(
VifibSlaposRestAPIV1MixinBase
):
def
createComputer
(
self
):
computer
=
self
.
cloneByPath
(
...
...
master/bt5/vifib_slapos_rest_api_v1_test/bt/revision
View file @
a630757b
77
\ No newline at end of file
78
\ No newline at end of file
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