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

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

Build:
DEFAULT BRANCH: master
Ran 22 Sep 2020 10:16AM UTC
Files 408
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

22 Sep 2020 09:28AM UTC coverage: 57.112% (+0.8%) from 56.271%
TEST_SERVER_MODE=true

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.

25355 of 44395 relevant lines covered (57.11%)

0.57 hits per line

Source Files on job 6918.8 (TEST_SERVER_MODE=true)
  • Tree
  • List 0
  • Changed 143
  • Source Changed 2
  • Coverage Changed 143
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6078
  • Travis Job 6918.8
  • 958e95cf on github
  • Prev Job for TEST_SERVER_MODE=true on master (#6917.4)
  • Next Job for TEST_SERVER_MODE=true on master (#6919.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