Code Review
/
vvp
/
validation-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1b6fda8
)
[VVP] All http URLs in requirement link
57/92057/1
author
Lovett, Trevor
<trevor.lovett@att.com>
Thu, 25 Jul 2019 21:51:37 +0000
(16:51 -0500)
committer
Lovett, Trevor (tl2972)
<tl2972@att.com>
Thu, 25 Jul 2019 21:52:01 +0000
(16:52 -0500)
Issue-ID: VVP-249
Change-Id: Ibfb8ccf735a8eaa29a6f1b1f6b2fbfd72d562feb
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
ice_validator/vvp.py
patch
|
blob
|
history
diff --git
a/ice_validator/vvp.py
b/ice_validator/vvp.py
index
43baee0
..
8db2d51
100644
(file)
--- a/
ice_validator/vvp.py
+++ b/
ice_validator/vvp.py
@@
-425,7
+425,9
@@
class Config:
@property
def requirement_link_url(self) -> str:
path = self._config["ui"].get("requirement-link-url", "")
- return "file://{}".format(os.path.join(PATH, path))
+ if not path.startswith("http"):
+ path = "file://{}".format(os.path.join(PATH, path))
+ return path
@property
def terms(self) -> dict: