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

spulec / moto / 6623
95%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2020 09:29AM UTC
Jobs 8
Files 393
Run time 33min
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
6623

push

travis-ci

web-flow
Implement Filter: Contains functionality for describe_params (#3189)

* Implement Filter: Contains functionality for describe_params

This commit adds the Contains functionality. Tests were created
to mimic behavior in AWS/boto3, including that filters with values
in the form of `/name` will match parameters named `/name/match` but
not parameters named `match/with/other-name`. In the test example, a
Contains filter with the value `/tan` would match: `/tangent-3` and
`tangram-4` but not `standby-5`.

* Enforce parameter filter restrictions on get_parameters_by_path

According to the boto3 documentation [1], `Name`, `Path`, and `Tier` are not
allowed values for `Key` in a parameter filter for `get_parameters_by_path`.

This commit enforces this by calling `_validate_parameter_filters` from the
`get_parameters_by_path` method, and adding a check to `_validate_parameter_filters`.

I added 3 test cases to `test_get_parameters_by_path` which check for the correct
exception when calling with a parameter filter using any of these keys.

* Code formatted to match style

* Refactored logic

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

39473 of 41849 relevant lines covered (94.32%)

6.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6623.1 (TEST_SERVER_MODE=false) 28 Jul 2020 09:38AM UTC 0
94.1
Travis Job 6623.1
2 6623.2 (TEST_SERVER_MODE=true) 28 Jul 2020 09:53AM UTC 0
56.3
Travis Job 6623.2
3 6623.3 (TEST_SERVER_MODE=false) 28 Jul 2020 09:29AM UTC 0
94.05
Travis Job 6623.3
4 6623.4 (TEST_SERVER_MODE=true) 28 Jul 2020 09:41AM UTC 0
56.58
Travis Job 6623.4
5 6623.5 (TEST_SERVER_MODE=false) 28 Jul 2020 09:33AM UTC 0
94.05
Travis Job 6623.5
6 6623.6 (TEST_SERVER_MODE=true) 28 Jul 2020 09:55AM UTC 0
56.58
Travis Job 6623.6
7 6623.7 (TEST_SERVER_MODE=false) 28 Jul 2020 09:46AM UTC 0
94.15
Travis Job 6623.7
8 6623.8 (TEST_SERVER_MODE=true) 28 Jul 2020 10:01AM UTC 0
57.29
Travis Job 6623.8
Source Files on build 6623
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6623
  • 126f5a51 on github
  • Prev Build on master (#6617)
  • Next Build on master (#6629)
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