Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
de4fd0f0
Commit
de4fd0f0
authored
Jun 03, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added test in dockerfile
parent
decc890b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
test_default_controller.py
...a-flask-server/sure_tosca/test/test_default_controller.py
+16
-2
No files found.
sure_tosca-flask-server/sure_tosca/test/test_default_controller.py
View file @
de4fd0f0
...
@@ -25,17 +25,31 @@ class TestDefaultController(BaseTestCase):
...
@@ -25,17 +25,31 @@ class TestDefaultController(BaseTestCase):
"""
"""
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/TIC.yaml'
)
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/TIC.yaml'
)
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/application_example_planed.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
# id_example = self.upload_file('https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/application_example_planed.yaml')
# doc_id = int(id_example)
self
.
assertIsInstance
(
doc_id
,
int
)
id_example
=
self
.
upload_file
(
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/ application_example_provisioned.yaml'
)
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/application_example_provisioned.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
id_example
=
self
.
upload_file
(
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/glusterFS.yaml'
)
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/glusterFS.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
id_example
=
self
.
upload_file
(
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/kubernetes.yaml'
)
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/kubernetes.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
id_example
=
self
.
upload_file
(
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/lifeWatch_vre1.yaml'
)
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/lifeWatch_vre1.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
id_example
=
self
.
upload_file
(
id_example
=
self
.
upload_file
(
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/topology.yaml'
)
'https://raw.githubusercontent.com/QCDIS/sdia-tosca/master/examples/topology.yaml'
)
doc_id
=
int
(
id_example
)
self
.
assertIsInstance
(
doc_id
,
int
)
def
test_get_all_ancestor_properties
(
self
):
def
test_get_all_ancestor_properties
(
self
):
...
...
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