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

Refactor global balance tests #1874

Merged
merged 2 commits into from
Jul 15, 2021
Merged

Refactor global balance tests #1874

merged 2 commits into from
Jul 15, 2021

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jul 15, 2021

I was OCD-ing over this comment and it was quick to fix, so here it is 😄
I'm moving balance check tests to their own test file instead of making the tests in NormalStateSpec more complex than they were.

@t-bast t-bast requested a review from pm47 July 15, 2021 12:47
pm47
pm47 previously approved these changes Jul 15, 2021
Copy link
Member

@pm47 pm47 left a comment

Choose a reason for hiding this comment

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

It's a bit awkward because some tests do not use the fixture, but still better than before.

Instead of adding bloat to the NormalStateSpec tests.
Remove unnecessary parts that belonged to the NormalStateSpec test.
@t-bast
Copy link
Member Author

t-bast commented Jul 15, 2021

Rebased on master.

@t-bast t-bast requested a review from pm47 July 15, 2021 15:37
@t-bast t-bast merged commit 733c6e7 into master Jul 15, 2021
@t-bast t-bast deleted the refactor-global-balance-tests branch July 15, 2021 15:45
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