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

theskumar / python-dotenv / 424
89%
master: 88%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 31 Dec 2018 05:58PM 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
424

Pull #160

travis-ci

web-flow
Isolate test files

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".
Pull Request #160: Isolate test files

254 of 287 relevant lines covered (88.5%)

5.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 424.1 31 Dec 2018 05:58PM UTC 0
87.8
Travis Job 424.1
2 424.2 31 Dec 2018 05:59PM UTC 0
88.5
Travis Job 424.2
3 424.3 31 Dec 2018 05:58PM UTC 0
88.5
Travis Job 424.3
4 424.4 31 Dec 2018 05:58PM UTC 0
88.5
Travis Job 424.4
5 424.5 31 Dec 2018 05:59PM UTC 0
87.8
Travis Job 424.5
6 424.6 31 Dec 2018 05:59PM UTC 0
88.5
Travis Job 424.6
Source Files on build 424
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #424
  • Pull Request #160
  • PR Base - master (#422)
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