-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pytest tests #198
Labels
bug
Something isn't working
Comments
zeromind
added a commit
to zeromind/dim
that referenced
this issue
Feb 4, 2022
use correct parent zone name for ionos-cloud#198
zeromind
added a commit
to zeromind/dim
that referenced
this issue
Feb 4, 2022
`ds_hash()` expect bytes, encode string in test for ionos-cloud#198
zeromind
added a commit
to zeromind/dim
that referenced
this issue
Feb 7, 2022
adjust the db model for `Pool` to return the list of subnets sorted by priority, which prohbably is what a user expects in general additionally, fix `assertDictSubset()` to make sure msg is a string, as it would sometimes fail, see ionos-cloud#198
zeromind
added a commit
to zeromind/dim
that referenced
this issue
Feb 8, 2022
make order for reference records returned by `rr_get_references()` persistent by sorting them by their `id` attribute this makes `RRReferencesTest::test_get_references` work, see ionos-cloud#198
zeromind
added a commit
to zeromind/dim
that referenced
this issue
Feb 8, 2022
this should make the results in the report more correct, * floor `current_free` * ceil used ips make sure the numbers in the report are integers, see ionos-cloud#198
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are quite a few
pytest
tests failing, we should fix the code/tests.tests/allocator_test.py
AllocatorTest::test_delegation_not_subnet
FAILED #205tests/commands_test.py
CommandsTest::test_pool_report
The called function does division and returns a float of number of IPs, but there can't be fractions of IPs, code should be adjusted to return
int
.tests/commands_test.py
CommandsTest::test_pool_reportv6
The called function does division and returns a float of number of IPs, but there can't be fractions of IPs, code should be adjusted to return
int
.tests/dns_test.py
test_validate_strings
Related to unicode in TXT records #72 and remove dependency on six #176
tests/dns_test.py
ZoneTest::test_subzone
Test creates the parent zone with wrong name.
tests/dns_test.py
TXT::test_parse
Related to unicode in TXT records #72 and remove dependency on six #176
tests/dns_test.py
RRReferencesTest::test_edit_comment_ttl
tests/dns_test.py
RRReferencesTest::test_get_references
tests/dnssec_test.py
test_ds_hash
The called function expects bytes for
owner
, but the test setsstr
; adjust to.encode('utf-8')
.tests/pool_test.py
PoolTest::test_priority
The text was updated successfully, but these errors were encountered: