1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Transip v2.1.1, back out test skips and coverage omits

This commit is contained in:
Ross McFarland
2020-03-16 07:45:32 -07:00
parent 694d7f3a71
commit fd037e873b
3 changed files with 3 additions and 9 deletions

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

View File

@@ -26,10 +26,7 @@ export DYN_PASSWORD=
export DYN_USERNAME= export DYN_USERNAME=
export GOOGLE_APPLICATION_CREDENTIALS= export GOOGLE_APPLICATION_CREDENTIALS=
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-xunit "$@"
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 html coverage html
coverage xml coverage xml
coverage report --show-missing coverage report --show-missing

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-----