Skip to content

[Review Needed]Pytest Style coordinates/test_chainreader.py#1640

Merged
kain88-de merged 2 commits intoMDAnalysis:developfrom
utkbansal:coord-chain
Aug 24, 2017
Merged

[Review Needed]Pytest Style coordinates/test_chainreader.py#1640
kain88-de merged 2 commits intoMDAnalysis:developfrom
utkbansal:coord-chain

Conversation

@utkbansal
Copy link
Member

Fixes #

Changes made in this Pull Request:

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?


@pytest.fixture()
def trajectory(self, universe):
return universe.trajectory
Copy link
Member

Choose a reason for hiding this comment

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

please remove this fixture and use universe.trajectory directly in the tests

return universe.trajectory

class TestChainReaderCommonDt(TestCase):
def setUp(self):
Copy link
Member

Choose a reason for hiding this comment

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

why does this class still have a setup method?

@kain88-de kain88-de merged commit f08aa4f into MDAnalysis:develop Aug 24, 2017
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.

2 participants