Merge pull request #362 from ThomasWaldmann/travis
fixes/updates for travis
This commit is contained in:
commit
917dacfceb
@ -119,11 +119,11 @@ class TestQuery(object):
|
|||||||
|
|
||||||
class TestReverseLookup(object):
|
class TestReverseLookup(object):
|
||||||
def test_rev_lookup_v4(self):
|
def test_rev_lookup_v4(self):
|
||||||
name, ip = '1dot1dot1dot1.cloudflare-dns.com', '1.1.1.1'
|
name, ip = 'one.one.one.one', '1.1.1.1'
|
||||||
assert rev_lookup(ip) == name
|
assert rev_lookup(ip) == name
|
||||||
|
|
||||||
def test_rev_lookup_v6(self):
|
def test_rev_lookup_v6(self):
|
||||||
name, ip = '1dot1dot1dot1.cloudflare-dns.com', '2606:4700:4700::1111'
|
name, ip = 'one.one.one.one', '2606:4700:4700::1111'
|
||||||
assert rev_lookup(ip) == name
|
assert rev_lookup(ip) == name
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# packages needed for development
|
# packages needed for development
|
||||||
-r all.txt
|
-r all.txt
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
pytest
|
pytest>=3.6
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest-pep8
|
pytest-pep8
|
||||||
Sphinx
|
Sphinx
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# this is mostly the stuff from dev.txt except a few packages not needed
|
# this is mostly the stuff from dev.txt except a few packages not needed
|
||||||
# on travis. the desired version of django is installed via .travis.yml.
|
# on travis. the desired version of django is installed via .travis.yml.
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
pytest
|
pytest>=3.6
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest-pep8
|
pytest-pep8
|
||||||
coveralls
|
coveralls
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# update pkg lists first, existing list items might be 404
|
||||||
|
sudo apt-get -y update
|
||||||
|
|
||||||
# we install a local bind9 to run the tests against:
|
# we install a local bind9 to run the tests against:
|
||||||
sudo apt-get -y install bind9 dnsutils e2fsprogs
|
sudo apt-get -y install bind9 dnsutils e2fsprogs
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ all_files = 1
|
|||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = docs/_build/html
|
upload-dir = docs/_build/html
|
||||||
|
|
||||||
[pytest]
|
[tool:pytest]
|
||||||
DJANGO_SETTINGS_MODULE = nsupdate.settings.dev
|
DJANGO_SETTINGS_MODULE = nsupdate.settings.dev
|
||||||
pep8maxlinelength = 120
|
pep8maxlinelength = 120
|
||||||
norecursedirs = .git
|
norecursedirs = .git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user