101 unit test coverage sort.py#130
101 unit test coverage sort.py#130t8y8 merged 10 commits intotableau:developmenttableau/server-client-python:developmentfrom talvalin:101-unit-test-coverage-sort.pytalvalin/server-client-python:101-unit-test-coverage-sort.pyCopy head branch name to clipboard
Conversation
|
Two questions whilst I'm here:
|
|
Always always always fork development. Pretend master doesn't exist :) |
t8y8
left a comment
There was a problem hiding this comment.
🚀
Can you publish the updated stats? I can't check as easily while on the road.
test/test_sort.py
Outdated
|
|
||
| self.assertEqual(resp.request.query, 'pagenumber=13&pagesize=13&sort=name:asc') | ||
|
|
||
| # def test_filter_combo(self): |
There was a problem hiding this comment.
This is because of the determinism problem, right?
After @RussTheAerialist does his bit uncomment and rebase on top of his changes and this should be good to go.
|
Updated my PR as requested, but I have no idea how to publish the updated stats. Or indeed how to update the stats. |
|
Okay, so not sure if we should be discussing here or in the deterministic order PR, but my |
|
Yes, the results aren't deterministic! You'll get results that vary from run to run in python 3, until his changes are checked in :) |
|
Okay I've merged #131 Sorry for the delay! You'll want to rebase and repush to pick up the squashed change |
|
No problem. Sorry for being dim about the fact that tests were going to fail until the merge. All good now though now I hope. |
|
Updated stats: |
|
🚀 |
Brings sort.py coverage up to 100% * Adding test_sort.py with initial tests * Updated based on pycodestyle tests
First attempt at tests for sort.py. I commented out my test for test_filter_combo, since it would intermittently fail because of the ordering of the two filters, so any advice on how to handle this particular issue (or to just bin the test) would be appreciated.