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

Test MonitoringService deployment with zero ServiceRegistry address #1334

Closed

Conversation

pirapira
Copy link
Contributor

@pirapira pirapira commented Oct 31, 2019

What this PR does

If ServiceRegistry address is zero, MonitoringService's constructor
is supposed to fail. This commit adds a test for this behavior.

This is a part of #572.

What's tricky about this PR (if any)

Web3.py does not reveal the require() message that fails during deployments. #1329


Any reviewer can check these:

  • In Python, use keyword arguments
  • Comment commits
  • Follow naming conventions
    • python_variable
    • PYTHON_CONSTANT

And before "merge" all checkboxes have to be checked. If you find redundant points, remove them.

@codecov
Copy link

codecov bot commented Oct 31, 2019

Codecov Report

Merging #1334 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1334   +/-   ##
=======================================
  Coverage   81.94%   81.94%           
=======================================
  Files          21       21           
  Lines        1468     1468           
  Branches      193      193           
=======================================
  Hits         1203     1203           
  Misses        226      226           
  Partials       39       39

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9fa29d...7e09dcc. Read the comment docs.

@pirapira pirapira changed the title Test MonitoringService deployment with zero SR Test MonitoringService deployment with zero ServiceRegistry address Nov 1, 2019
If ServiceRegistry address is zero, MonitoringService's constructor
is supposed to fail. This commit adds a test for this behavior.
@pirapira pirapira force-pushed the service-registry-address-zero branch from ae048a9 to 7e09dcc Compare November 2, 2019 15:14
@pirapira pirapira closed this Nov 3, 2019
@pirapira pirapira deleted the service-registry-address-zero branch November 3, 2019 10:48
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.

1 participant