]> git.proxmox.com Git - mirror_ifupdown2.git/blobdiff - tests/test_ifupdown2.py
ifupdown2 2.0.0 release
[mirror_ifupdown2.git] / tests / test_ifupdown2.py
diff --git a/tests/test_ifupdown2.py b/tests/test_ifupdown2.py
new file mode 100644 (file)
index 0000000..643dc54
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+"""Tests for `ifupdown2` package."""
+
+import pytest
+
+
+@pytest.fixture
+def response():
+    """Sample pytest fixture.
+
+    See more at: http://doc.pytest.org/en/latest/fixture.html
+    """
+    # import requests
+    # return requests.get('https://github.com/audreyr/cookiecutter-pypackage')
+
+
+def test_content(response):
+    """Sample pytest test function with the pytest fixture as an argument."""
+    # from bs4 import BeautifulSoup
+    # assert 'GitHub' in BeautifulSoup(response.content).title.string