Merge pull request #851 from octodns/pytest

Switch to pytests, add a tiny bit of smoke test coverage to get something coverage no longer gets
This commit is contained in:
Ross McFarland
2022-01-14 12:16:42 -08:00
committed by GitHub
6 changed files with 34 additions and 21 deletions
+6
View File
@@ -3459,6 +3459,12 @@ class TestDynamicRecords(TestCase):
self.assertTrue(rules)
self.assertEqual(a_data['dynamic']['rules'][0], rules[0].data)
# smoke test of _DynamicMixin.__repr__
a.__repr__()
delattr(a, 'values')
a.value = 'abc'
a.__repr__()
def test_simple_aaaa_weighted(self):
aaaa_data = {
'dynamic': {