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

spulec / moto / 6918
95%

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2020 09:41AM UTC
Jobs 8
Files 408
Run time 37min
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
6918

push

travis-ci

web-flow
Make IoT certificate ID generation deterministic and prevent duplicate certificates from being created (#3331)

* Make IoT certificate id generation deterministic

Fixes #3321

As per https://stackoverflow.com/questions/55847788/how-does-aws-iot-generate-a-certificate-id,
the IoT certificate ID is the SHA256 fingerprint of the
certificate. Since moto doesn't generate full certificates we will
instead use the SHA256 hash of the passed certificate pem.

* Don't allow duplicate IoT certificates to be created

Fixes #3320

When using boto3, trying to register a certificate that already
exists will throw a ResourceAlreadyExistsException. Moto should
follow the same pattern to allow testing error handling code in
this area.

11 of 11 new or added lines in 2 files covered. (100.0%)

41039 of 43478 relevant lines covered (94.39%)

6.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6918.1 (TEST_SERVER_MODE=false) 22 Sep 2020 09:52AM UTC 0
94.17
Travis Job 6918.1
2 6918.2 (TEST_SERVER_MODE=true) 22 Sep 2020 10:03AM UTC 0
56.06
Travis Job 6918.2
3 6918.3 (TEST_SERVER_MODE=false) 22 Sep 2020 09:41AM UTC 0
94.13
Travis Job 6918.3
4 6918.4 (TEST_SERVER_MODE=true) 22 Sep 2020 09:51AM UTC 0
56.27
Travis Job 6918.4
5 6918.5 (TEST_SERVER_MODE=false) 22 Sep 2020 09:41AM UTC 0
94.13
Travis Job 6918.5
6 6918.6 (TEST_SERVER_MODE=true) 22 Sep 2020 10:08AM UTC 0
56.26
Travis Job 6918.6
7 6918.7 (TEST_SERVER_MODE=false) 22 Sep 2020 09:55AM UTC 0
94.24
Travis Job 6918.7
8 6918.8 (TEST_SERVER_MODE=true) 22 Sep 2020 10:16AM UTC 0
57.11
Travis Job 6918.8
Source Files on build 6918
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6918
  • 958e95cf on github
  • Prev Build on master (#6917)
  • Next Build on master (#6919)
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