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

Enforce that the safe property must be valid #9

Merged
merged 2 commits into from
Jan 17, 2019
Merged

Conversation

ryanhiebert
Copy link
Owner

It is acceptable for the safe property to not be given, and get the default. However, if the safe property is given, then it must be set correctly. Enforce this by ensuring that the value we will use is part of the Safe enum.

Fix #8

It is acceptable for the safe property to not be given, and get the
default. However, if the safe property is given, then it must be
set correctly. Enforce this by ensuring that the value we will use
is part of the Safe enum.
@codecov
Copy link

codecov bot commented Jan 17, 2019

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #9   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           3      3           
  Lines          66     72    +6     
  Branches       21     24    +3     
=====================================
+ Hits           66     72    +6
Impacted Files Coverage Δ
...ngo_safemigrate/management/commands/safemigrate.py 100% <100%> (ø) ⬆️

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 284d6d4...3c83311. Read the comment docs.

Copy link
Collaborator

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

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

Thanks for implementing this!

@ryanhiebert ryanhiebert merged commit db7b11f into master Jan 17, 2019
@ryanhiebert ryanhiebert deleted the invalid branch January 17, 2019 20:14
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