-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fixes for test/test_testmon.py (via flake8) #106
Conversation
@@ -25,7 +23,7 @@ def test_separation(self, testdir): | |||
testmon2_data.write_data() | |||
|
|||
testmon_check_data = CoreTestmonData(testdir.tmpdir.strpath, variant='1') | |||
assert testmon1_data.node_data['node1'] == {'a.py': 1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testmon_check_data
is unused here - should just the assignment get skipped?
(I've assumed that the assert
should be for testmon_check_data
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tarpas
Please verify that this is sane, and I will rebase this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this test should check if data is not overwritten when different variant is used. But the data is never written to DB since condition in write_data()
in not met. Also testmon_check_data.read_data()
is never called. So i am not really sure.
@tarpas |
fd8d9cb
to
c369e8c
Compare
Sorry, this is not relevant any more. |
Not sure about
test_separation
, but at least it needs to be adjusted in some way.