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

spulec / moto / 6623 / 8
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2020 10:01AM UTC
Files 393
Run time 1min
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

28 Jul 2020 09:17AM UTC coverage: 57.29% (+0.7%) from 56.593%
TEST_SERVER_MODE=true

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

24406 of 42601 relevant lines covered (57.29%)

0.57 hits per line

Source Files on job 6623.8 (TEST_SERVER_MODE=true)
  • Tree
  • List 0
  • Changed 137
  • Source Changed 1
  • Coverage Changed 137
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5848
  • Travis Job 6623.8
  • 126f5a51 on github
  • Prev Job for TEST_SERVER_MODE=true on master (#6617.4)
  • Next Job for TEST_SERVER_MODE=true on master (#6629.4)
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