• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spulec / moto / 7435 / 5
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 16 Jan 2021 03:12PM UTC
Files 423
Run time 28s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jan 2021 02:42PM UTC coverage: 94.344% (-0.02%) from 94.36%
TEST_SERVER_MODE=false

push

travis-ci

web-flow
Added explicit exception raise when no stack found. (#3559)

* Added explicit exception raise when no stack found.

Currently, any operation that uses 'get_stack' method from 'CloudFormationBackend' class
will fail with AttributeError or jinja2 exception if ran against non-existing stack(created/deleted)
To fix the issue I explicitly raised a 'ValidationError' exception.
Added tests for boto and boto3 responses.

* Moved non-existing stack tests to 'test_stack_events'

When using 'update_stack' to test raising an exception when the stack doesn't exist
test coverage dropped by 0.5%. I am using stack_events instead.

* Removed some unreachable paths

After adding the exception couple of paths in the code are unreachable as 'get_stack' doesn't return 'None' anymore.
This is the reason why coverall was reporting decreased coverage.

* Removed an unreachable path I missed

* Added couple of tests in cloudformation/models

* Added more assertions around raised exception

* Formatted document using black to fix issue with travis.

43003 of 45581 relevant lines covered (94.34%)

0.94 hits per line

Source Files on job 7435.5 (TEST_SERVER_MODE=false)
  • Tree
  • List 0
  • Changed 28
  • Source Changed 2
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6524
  • Travis Job 7435.5
  • 8fe5a680 on github
  • Prev Job for TEST_SERVER_MODE=false on master (#7433.1)
  • Next Job for TEST_SERVER_MODE=false on master (#7443.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc