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

theskumar / python-dotenv / 672
88%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2020 01:47PM UTC
Jobs 10
Files 8
Run time 54s
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
672

push

travis-ci-com

bbc2
Fix variable expansion order without override

This fixes an issue when a variable is resolved differently in two
bindings.

For instance, take the following env file:

```
PORT=8000
URL=http://localhost:${PORT}
```

With `PORT` set to `1234` in the environment, the environment resulting
from `dotenv_load(override=False)` would be:

```
PORT=1234
URL=http://localhost:8000
```

This was inconsistent and is fixed by this commit.  The environment
would now be:

```
PORT=1234
URL=http://localhost:1234
```

with override, and

```
PORT=8000
URL=http://localhost:8000
```

without override.

The behavior of `load_dotenv` is unchanged and always assumes
`override=True`.

14 of 14 new or added lines in 1 file covered. (100.0%)

423 of 479 relevant lines covered (88.31%)

7.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 672.1 (TOXENV=lint) 05 Dec 2020 01:47PM UTC 0
0.0
Travis Job 672.1
2 672.2 (TOXENV=manifest) 05 Dec 2020 01:47PM UTC 0
0.0
Travis Job 672.2
3 672.3 (TOXENV=py27) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.3
4 672.4 (TOXENV=py35) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.4
5 672.5 (TOXENV=py36) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.5
6 672.6 (TOXENV=py37) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.6
7 672.7 (TOXENV=py38) 05 Dec 2020 01:47PM UTC 0
87.93
Travis Job 672.7
8 672.8 (TOXENV=py39) 05 Dec 2020 01:47PM UTC 0
87.93
Travis Job 672.8
9 672.9 (TOXENV=pypy) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.9
10 672.10 (TOXENV=pypy3) 05 Dec 2020 01:47PM UTC 0
87.68
Travis Job 672.10
Source Files on build 672
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #672
  • 26ff5b74 on github
  • Prev Build on master (#669)
  • Next Build on master (#678)
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