Commit Graph

137 Commits

Author SHA1 Message Date
Chris Hill-Scott
4d43354473 Remove strict argument to pytest
We set it in pytest.ini anyway.
2020-02-24 17:28:29 +00:00
Katie Smith
1c23784767 Pytest 5 🎉
Also updates the Pytest command in `run_tests.sh` to remove junit,
which we stopped using.
2020-01-09 09:50:37 +00:00
David McDonald
224db44a9e Remove coveralls
We aren't using it
2019-12-24 15:25:34 +00:00
David McDonald
8ce1917740 Revert "Remove pip-accel" 2019-12-23 11:49:32 +00:00
David McDonald
807c83c656 Remove coveralls
We don't use it
2019-12-20 16:58:45 +00:00
Leo Hemsted
f85bd3a8dd bump reqs
utils bump, and a bunch of test dependencies
can't bump pytest-xdist as it requires pytest>4
2019-11-18 14:59:02 +00:00
Chris Hill-Scott
fcc84ac514 Do extra code style checks with flake8-bugbear
Flake8 Bugbear checks for some extra things that aren’t code style
errors, but are likely to introduce bugs or unexpected behaviour. A
good example is having mutable default function arguments, which get
shared between every call to the function and therefore mutating a value
in one place can unexpectedly cause it to change in another.

This commit enables all the extra warnings provided by Flake8 Bugbear,
except for the line length one (because we already lint for that
separately).

It disables:
- _B003: Assigning to os.environ_ because I don’t really understand this
- _B306: BaseException.message is removed in Python 3_ because I think
  our exceptions have a custom structure that means the `.message`
  attribute is still present
2019-11-01 10:43:01 +00:00
Chris Hill-Scott
d227ca11d5 Combine test-related Pyup changes 2019-07-03 13:48:28 +01:00
Leo Hemsted
9547fedcc3 move manifest to single jinja template
uses the same pattern as other apps. Infers route based on app name,
you can declare more in the dict at the top if you need to.
2019-04-16 14:46:00 +01:00
Chris Hill-Scott
8f7d18efb5 Stop Pyup trying to upgrade us to Pytest 4
There’s no point until we’ve changed our code to conform.
2019-03-25 12:04:42 +00:00
pyup-bot
b3855de424 Update isort from 4.3.4 to 4.3.16 2019-03-25 11:19:24 +00:00
pyup-bot
e910a5f28a Update pytest-xdist from 1.26.1 to 1.27.0 2019-03-20 23:27:09 +00:00
pyup-bot
fdd872db48 Update coveralls from 1.6.0 to 1.7.0 2019-03-20 03:24:10 +00:00
pyup-bot
e2a48ded13 Update flake8 from 3.7.6 to 3.7.7 2019-02-25 16:53:28 +00:00
Chris Hill-Scott
eeeaa5546e Merge pull request #2781 from alphagov/pyup-update-coveralls-1.5.1-to-1.6.0
Update coveralls to 1.6.0
2019-02-19 10:19:28 +00:00
pyup-bot
7be7861473 Update flake8 from 3.7.5 to 3.7.6 2019-02-18 21:48:03 +00:00
pyup-bot
12ddd5c514 Update coveralls from 1.5.1 to 1.6.0 2019-02-18 18:57:55 +00:00
Chris Hill-Scott
311d615356 Merge pull request #2724 from alphagov/pyup-update-pytest-mock-1.10.0-to-1.10.1
Update pytest-mock to 1.10.1
2019-02-04 17:35:06 +00:00
pyup-bot
9ae5a7c9ad Update flake8 from 3.7.4 to 3.7.5 2019-02-04 16:55:21 +00:00
pyup-bot
cc392e49a4 Update pytest-mock from 1.10.0 to 1.10.1 2019-02-04 13:55:27 +00:00
pyup-bot
5c26095ad4 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 05:40:21 +00:00
pyup-bot
716eefa533 Update flake8 from 3.7.1 to 3.7.3 2019-01-31 05:40:27 +00:00
Chris Hill-Scott
54e9e6401d Merge pull request #2696 from alphagov/pyup-update-pytest-xdist-1.26.0-to-1.26.1
Update pytest-xdist to 1.26.1
2019-01-30 13:34:06 +00:00
pyup-bot
8a254add0d Update flake8 from 3.6.0 to 3.7.1 2019-01-30 08:21:26 +00:00
pyup-bot
130dcb7363 Update pytest-xdist from 1.26.0 to 1.26.1 2019-01-29 20:55:19 +00:00
pyup-bot
46f8dbb2c6 Update pytest-xdist from 1.25.0 to 1.26.0 2019-01-11 21:22:46 +00:00
Chris Hill-Scott
f77b101261 Merge pull request #2634 from alphagov/pyup-update-pytest-cov-2.6.0-to-2.6.1
Update pytest-cov to 2.6.1
2019-01-09 11:49:32 +00:00
pyup-bot
67685fb601 Update beautifulsoup4 from 4.7.0 to 4.7.1 2019-01-07 01:07:37 +00:00
pyup-bot
4c62a1c0a7 Update pytest-cov from 2.6.0 to 2.6.1 2019-01-07 01:07:33 +00:00
Chris Hill-Scott
c92fddce3c Merge pull request #2583 from alphagov/pyup-update-pytest-xdist-1.24.1-to-1.25.0
Update pytest-xdist to 1.25.0
2019-01-02 13:20:22 +00:00
pyup-bot
07a540506c Update beautifulsoup4 from 4.6.3 to 4.7.0 2019-01-02 11:55:10 +00:00
pyup-bot
a7b5860dc0 Update pytest-xdist from 1.24.1 to 1.25.0 2018-12-13 13:21:57 +00:00
Leo Hemsted
3551d36f32 bump reqs 2018-11-14 13:35:24 +00:00
Chris Hill-Scott
9c35b9bdcb Merge pull request #2445 from alphagov/pyup-update-pytest-3.9.3-to-3.10.0
Update pytest to 3.10.0
2018-11-06 14:22:14 +00:00
Chris Hill-Scott
e6181637be Remove httpretty dependency
We don’t use it for anything.

Even the [commit that introduced it](494e49ee45) didn’t seem to actually use it.

Closes #2446
2018-11-05 15:52:05 +00:00
pyup-bot
1bcaad2c71 Update pytest from 3.9.3 to 3.10.0 2018-11-04 16:58:25 +00:00
pyup-bot
8e296b1c90 Update pytest-xdist from 1.23.2 to 1.24.0 2018-10-29 21:06:18 +00:00
pyup-bot
9707d030e9 Update pytest from 3.9.2 to 3.9.3 2018-10-27 19:11:14 +01:00
pyup-bot
b8ddfe42f3 Update pytest from 3.9.1 to 3.9.2 2018-10-23 03:55:05 +01:00
Chris Hill-Scott
e8fb7343b2 Merge pull request #2382 from alphagov/pyup-update-freezegun-0.3.10-to-0.3.11
Update freezegun to 0.3.11
2018-10-18 15:50:51 +01:00
pyup-bot
5c72490ee0 Update pytest from 3.8.2 to 3.9.1 2018-10-16 23:08:51 +01:00
pyup-bot
bd0d25186e Update freezegun from 0.3.10 to 0.3.11 2018-10-15 04:17:52 +01:00
Leo Hemsted
2bd5ec6ec3 Merge pull request #2351 from alphagov/precompiled_validation_preview
Preview the validation of precompiled letters
2018-10-10 14:58:23 +01:00
Pea Tyczynska
a61393a68e Test letter validation preview flow 2018-10-05 15:46:44 +01:00
pyup-bot
0574a330a4 Update pytest from 3.8.1 to 3.8.2 2018-10-02 23:22:29 +01:00
pyup-bot
8371b7269f Update pytest-xdist from 1.23.1 to 1.23.2 2018-09-28 11:50:19 +01:00
pyup-bot
98162741aa Update coveralls from 1.5.0 to 1.5.1 2018-09-28 06:34:16 +01:00
pyup-bot
0bd15aa50d Update pytest-xdist from 1.23.0 to 1.23.1 2018-09-25 20:50:16 +01:00
pyup-bot
ba0ba29907 Update pytest from 3.8.0 to 3.8.1 2018-09-22 21:50:08 +01:00
pyup-bot
85807c8140 Update pytest from 3.7.4 to 3.8.0 2018-09-06 14:47:33 +01:00