Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jun 27, 2018

Not sure about test_separation, but at least it needs to be adjusted in some way.

@@ -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}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

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)

Copy link
Contributor Author

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.

Copy link
Contributor

@Matlino Matlino May 14, 2019

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.

@blueyed
Copy link
Contributor Author

blueyed commented Apr 13, 2019

@tarpas
Ping?

@tarpas
Copy link
Owner

tarpas commented Dec 6, 2019

Sorry, this is not relevant any more.

@tarpas tarpas closed this Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants