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

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-13 14:26:30 -08:00
parent 32c358af04
commit 3ed6d743e6
6 changed files with 22 additions and 11 deletions

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': {