Code Review
/
vvp
/
validation-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
b58293a
)
Merge "Remove unnecessary check for pytest.skip"
author
steven stark
<steven.stark@att.com>
Tue, 12 Nov 2019 21:44:52 +0000
(21:44 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Tue, 12 Nov 2019 21:44:52 +0000
(21:44 +0000)
ice_validator/tests/test_non_server_name.py
patch
|
blob
|
history
diff --git
a/ice_validator/tests/test_non_server_name.py
b/ice_validator/tests/test_non_server_name.py
index
9361389
..
7a5c11f
100644
(file)
--- a/
ice_validator/tests/test_non_server_name.py
+++ b/
ice_validator/tests/test_non_server_name.py
@@
-42,7
+42,6
@@
resource property name
"""
import os
import collections
-import pytest
from .structures import Heat
from .structures import HeatProcessor
@@
-74,12
+73,7
@@
def test_non_server_name(yaml_file):
"""
h = Heat(filepath=yaml_file)
- if not h.resources:
- pytest.skip("No resources in this template")
-
non_servers = get_non_servers(h)
- if not non_servers:
- pytest.skip("No non-server resources in this template")
bad = []
for rid, resource in non_servers.items():