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

theskumar / python-dotenv / 425
88%

Build:
DEFAULT BRANCH: master
Ran 01 Jan 2019 06:41AM UTC
Jobs 6
Files 6
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

pending completion
425

push

travis-ci

theskumar
Isolate test files (#160)

The test suite had the following issues:

* A failing test would leave files in the `tests` directory, causing
  other tests to fail unexpectedly.
* Even successful tests would require clean up code like `sh.rm(...)` to
  avoid leaving test files.  This was easy to forget as shown by #153.
* The same test file would be used for several tests, making them unsafe
  to run in parallel.

This commit fixes that by using the `dotenv_file` and `tmp_path`
fixtures whenever the filesystem is required.  The advantage of those
fixtures is that they use unique test directories, which are eventually
cleaned up.

The `tmp_path` fixture is preferred to the `tmpdir` fixture because
`tmpdir` relies on `py.path`, a library in "maintenance mode".

254 of 287 relevant lines covered (88.5%)

5.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 425.1 01 Jan 2019 06:41AM UTC 0
87.8
Travis Job 425.1
2 425.2 01 Jan 2019 06:41AM UTC 0
88.5
Travis Job 425.2
3 425.3 01 Jan 2019 06:41AM UTC 0
88.5
Travis Job 425.3
4 425.4 01 Jan 2019 06:41AM UTC 0
88.5
Travis Job 425.4
5 425.5 01 Jan 2019 06:42AM UTC 0
87.8
Travis Job 425.5
6 425.6 01 Jan 2019 06:42AM UTC 0
88.5
Travis Job 425.6
Source Files on build 425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #425
  • 254d5bf0 on github
  • Prev Build on master (#422)
  • Next Build on master (#427)
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