Browse Source

Merge pull request #514 from github/transip-2-1-1

Transip v2.1.1, back out test skips and coverage omits
pull/516/head
Ross McFarland 6 years ago
committed by GitHub
parent
commit
7c9d89b826
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 9 deletions
  1. +1
    -1
      requirements.txt
  2. +1
    -4
      script/coverage
  3. +1
    -4
      tests/test_octodns_provider_transip.py

+ 1
- 1
requirements.txt View File

@ -23,4 +23,4 @@ requests==2.23.0
s3transfer==0.3.3 s3transfer==0.3.3
setuptools==44.0.0 setuptools==44.0.0
six==1.14.0 six==1.14.0
transip==2.0.0
transip==2.1.1

+ 1
- 4
script/coverage View File

@ -26,10 +26,7 @@ export DYN_PASSWORD=
export DYN_USERNAME= export DYN_USERNAME=
export GOOGLE_APPLICATION_CREDENTIALS= export GOOGLE_APPLICATION_CREDENTIALS=
OMIT_PATHS="octodns/cmds/*,octodns/provider/transip*.py" # FIXME Transip tests are failing. Omitting them until they are fixed
coverage run --branch --source=octodns --omit=${OMIT_PATHS} "$(command -v nosetests)" --with-xunit "$@"
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-xunit "$@"
coverage html coverage html
coverage xml coverage xml
coverage report --show-missing coverage report --show-missing


+ 1
- 4
tests/test_octodns_provider_transip.py View File

@ -11,7 +11,6 @@ from six import text_type
from suds import WebFault from suds import WebFault
from unittest import TestCase from unittest import TestCase
from unittest import skip
from octodns.provider.transip import TransipProvider from octodns.provider.transip import TransipProvider
from octodns.provider.yaml import YamlProvider from octodns.provider.yaml import YamlProvider
@ -98,9 +97,7 @@ class MockDomainService(DomainService):
document = {} document = {}
raise WebFault(fault, document) raise WebFault(fault, document)
# FIXME Skipping broken tests for now. Revert this once they are found to
# be working again
@skip("Skipping broken transip tests")
class TestTransipProvider(TestCase): class TestTransipProvider(TestCase):
bogus_key = str("""-----BEGIN RSA PRIVATE KEY----- bogus_key = str("""-----BEGIN RSA PRIVATE KEY-----


Loading…
Cancel
Save