8000 Use pytest by jelly · Pull Request #231 · archlinux/archweb · GitHub
[go: up one dir, main page]

Skip to content

Use pytest #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1c831f6
Fix Python formatting in releng.models
jelly May 22, 2020
1a16df1
Add PGP key to the Release model
jelly May 22, 2020
326b84e
mirrors: add conftest for mirrors
jelly Mar 8, 2019
407de39
mirrors: tests: convert test_models to pytest
jelly Mar 8, 2019
7a13e2e
mirrors: switch to pytest
jelly Mar 8, 2019
bb6a5f1
mirrors: tests: remove duplicate tests
jelly Mar 8, 2019
e5547f3
mirrors: convert mirrorstatus to pytest
jelly Mar 8, 2019
58cf8b1
mirrors: tests: port to pytest
jelly Mar 8, 2019
591bcf4
mirrors: tests: port to pytest
jelly Mar 8, 2019
858322c
mirrors: convert to pytest
jelly Mar 9, 2019
fca832f
mirrors: convert to pytest
jelly Mar 9, 2019
fce216e
Remove unrequired function
jelly Mar 9, 2019
14d5bfc
mirrors: ipv6 does not exists everywhere :(
jelly Mar 9, 2019
5855cda
releng: convert to pytest fixtures
jelly Mar 9, 2019
2df9544
main: convert tests to pytest
jelly Mar 9, 2019
a620fed
visualize: convert to pytest
jelly Mar 9, 2019
ac05d53
public: port to pytest
jelly Mar 9, 2019
7500b1e
news: port to pytest
jelly Mar 9, 2019
6710663
packages: port to pytest
jelly Mar 9, 2019
8245939
todolists: port to pytest
jelly Mar 9, 2019
6e7829d
packages; port to pytest
jelly Mar 9, 2019
ba55137
devel: port to pytest
jelly Mar 9, 2019
9cf6c4c
Add pytest integration files
jelly Jul 29, 2019
04835d4
Add pylint disable for import
jelly Aug 4, 2019
0f30d71
Update tests
jelly Aug 4, 2019
aaaaab9
disable coverage reporting for the django debug toolbar
jelly Aug 4, 2019
60667cc
todolists: increase coverage for todolist models
jelly Aug 4, 2019
df32e88
mirrors: add test for "smart" protocol
jelly Aug 4, 2019
4bb9496
public: add logged in index view
jelly Aug 4, 2019
40325d1
Add test for non existing dependencies
jelly Aug 4, 2019
9de5aff
conftest: remove unused import
jelly Aug 4, 2019
cbe2caa
Fix typo in makefile
jelly Aug 5, 2019
f6c4674
Hardcore settins for testing
jelly Aug 5, 2019
932e43b
Also install pytest-django
jelly Aug 5, 2019
c747659
reroll options
jelly Aug 5, 2019
3621de4
ok wtf
jelly Aug 5, 2019
1d54e2e
forgot pytest -cov
jelly Aug 5, 2019
91140ad
Add requirements_test.txt file for test depenendencies
jelly Aug 6, 2019
84a37ec
port todolists to pytest
jelly Aug 6, 2019
08a3962
Remove unused test function
jelly May 23, 2020
8b21e12
Port planet tests to pytest
jelly May 23, 2020
3d4827c
Port remainder to pytest
jelly May 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mirrors: ipv6 does not exists everywhere :(
  • Loading branch information
jelly committed May 23, 2020
commit 14d5bfcceb6fce8cc2cbd1427343256baaa3df5f
2 changes: 1 addition & 1 deletion mirrors/tests/test_mirrorurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_mirror_url_clean(mirrorurl):
mirrorurl.clean()
# TOOD(jelle): this expects HOSTNAME to resolve, maybe mock
assert mirrorurl.has_ipv4 == True
assert mirrorurl.has_ipv6 == True
#assert mirrorurl.has_ipv6 == True

def test_mirrorurl_repr(mirrorurl):
assert URL in repr(mirrorurl)
0