Skip to content

Conversation

aketcham0691
Copy link
Contributor

Issue #, if available:
#350
Description of changes:
This change allows developers to reference string parameters to enable or disable deployment preferences. Previously, any non-empty string evaluated to true and any empty string evaluated to false.

Description of how you validated changes:
Created new unit tests and ran make test

Checklist:

  • [ x] Write/update tests
  • make pr passes
    make pr would not work, as make black-check was failing, even before making my changes. I tried using both python2.7 and python3.6. Any guidance here would be appreciated.
  • Update documentation
  • Verify transformed template deploys and application functions as expected
  • Add/update example to examples/2016-10-31

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aketcham0691
Copy link
Contributor Author

I see black-check is failing. I think you may want to update your onboarding doc/makefile to download the correct versions of python, black, etc.

I'll try to fix and re-submit.

@codecov-io
Copy link

codecov-io commented Jan 3, 2020

Codecov Report

Merging #1361 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1361      +/-   ##
===========================================
+ Coverage    94.42%   94.42%   +<.01%     
===========================================
  Files           78       78              
  Lines         4554     4555       +1     
  Branches       912      912              
===========================================
+ Hits          4300     4301       +1     
  Misses         119      119              
  Partials       135      135
Impacted Files Coverage Δ
...nslator/model/preferences/deployment_preference.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 3780404...88791a0. Read the comment docs.

Copy link
Contributor

@praneetap praneetap 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 contributing this fix!

@praneetap praneetap merged commit 127195f into aws:develop Jan 7, 2020
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.

6 participants