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

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

Build:
DEFAULT BRANCH: master
Ran 16 Jan 2021 03:08PM UTC
Files 423
Run time 36s
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: 55.227% (+1.7%) from 53.577%
TEST_SERVER_MODE=true

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.

25173 of 45581 relevant lines covered (55.23%)

0.55 hits per line

Source Files on job 7435.4 (TEST_SERVER_MODE=true)
  • Tree
  • List 0
  • Changed 74
  • Source Changed 2
  • Coverage Changed 74
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6524
  • Travis Job 7435.4
  • 8fe5a680 on github
  • Prev Job for TEST_SERVER_MODE=true on master (#7433.2)
  • Next Job for TEST_SERVER_MODE=true on master (#7443.2)
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

© 2025 Coveralls, Inc