Private GIT

Skip to content
Snippets Groups Projects
Commit 27454aa1 authored by fmonthel's avatar fmonthel
Browse files

[ENH] Add PyTest + Travis

parent de336285
Branches
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
"install": [ "install": [
"pip install -r requirements.txt" "pip install -r requirements.txt"
], ],
"script": [
"pytest"
],
"group": "stable", "group": "stable",
"dist": "trusty", "dist": "trusty",
"os": "linux" "os": "linux"
......
import gandi-ddns as script
def test_get_ip():
assert script.get_ip() == 'test-toto'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment