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

spulec / moto / 7435
95%

Build:
DEFAULT BRANCH: master
Ran 16 Jan 2021 02:56PM UTC
Jobs 8
Files 423
Run time 41min
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

pending completion
7435

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.

1 of 1 new or added line in 1 file covered. (100.0%)

43100 of 45563 relevant lines covered (94.59%)

5.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7435.1 (TEST_SERVER_MODE=false) 16 Jan 2021 03:09PM UTC 0
94.37
Travis Job 7435.1
2 7435.2 (TEST_SERVER_MODE=true) 16 Jan 2021 03:20PM UTC 0
53.58
Travis Job 7435.2
3 7435.3 (TEST_SERVER_MODE=false) 16 Jan 2021 02:56PM UTC 0
94.33
Travis Job 7435.3
4 7435.4 (TEST_SERVER_MODE=true) 16 Jan 2021 03:08PM UTC 0
55.23
Travis Job 7435.4
5 7435.5 (TEST_SERVER_MODE=false) 16 Jan 2021 03:12PM UTC 0
94.34
Travis Job 7435.5
6 7435.6 (TEST_SERVER_MODE=true) 16 Jan 2021 03:36PM UTC 0
55.22
Travis Job 7435.6
7 7435.7 (TEST_SERVER_MODE=false) 16 Jan 2021 03:25PM UTC 0
94.44
Travis Job 7435.7
8 7435.8 (TEST_SERVER_MODE=true) 16 Jan 2021 03:37PM UTC 0
56.08
Travis Job 7435.8
Source Files on build 7435
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7435
  • 8fe5a680 on github
  • Prev Build on master (#7433)
  • Next Build on master (#7443)
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