]> git.proxmox.com Git - mirror_ifupdown2.git/blob - tests/test_ifupdown2.py
addons: address: fix merge-indentation issue
[mirror_ifupdown2.git] / tests / test_ifupdown2.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 """Tests for `ifupdown2` package."""
5
6 import pytest
7
8
9 @pytest.fixture
10 def response():
11 """Sample pytest fixture.
12
13 See more at: http://doc.pytest.org/en/latest/fixture.html
14 """
15 # import requests
16 # return requests.get('https://github.com/audreyr/cookiecutter-pypackage')
17
18
19 def test_content(response):
20 """Sample pytest test function with the pytest fixture as an argument."""
21 # from bs4 import BeautifulSoup
22 # assert 'GitHub' in BeautifulSoup(response.content).title.string