Skip to content

Commit 087fad5

Browse files
committed
finding javascript
1 parent 70889cf commit 087fad5

File tree

10 files changed

+36455
-91
lines changed

10 files changed

+36455
-91
lines changed

.coveragerc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
omit = *eggs*
3-
tests/w3c.py
43
dev.py
54
setup.py
5+
env/*
66
tests/*
7+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.coverage
22
.cache/
3+
.pytest_cache/
4+
.vscode/
35
cover/
46
dist/
57
build/

.pytest_cache/v/cache/lastfailed

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
{}
1+
{
2+
"tests/test_module.py::test_blacklist": true,
3+
"tests/test_module.py::test_blacklist_add": true,
4+
"tests/test_module.py::test_blacklist_delete": true,
5+
"tests/test_module.py::test_blacklist_query_string": true,
6+
"tests/test_module.py::test_blacklist_reset": true,
7+
"tests/test_module.py::test_get_image_main_color": true,
8+
"tests/test_module.py::test_get_image_results": true,
9+
"tests/test_module.py::test_get_images_data_from_html": true,
10+
"tests/test_module.py::test_imageresult_resize": true,
11+
"tests/test_module.py::test_imageresult_show_image": true,
12+
"tests/test_module.py::test_imageresult_tofile": true,
13+
"tests/test_module.py::test_imageresult_url": true,
14+
"tests/test_module.py::test_imageresult_verify_invalid_file": true,
15+
"tests/test_module.py::test_imageresult_verify_valid_file": true,
16+
"tests/test_module.py::test_rev_search_result_similar_images": true,
17+
"tests/test_module.py::test_reverse_search_init": true,
18+
"tests/test_module.py::test_reverse_search_post_search": true,
19+
"tests/test_module.py::test_reverse_search_result_label": true,
20+
"tests/test_module.py::test_reverse_search_search": true,
21+
"tests/test_module.py::test_search_image_aspect_ratio": true,
22+
"tests/test_module.py::test_search_image_exact_size": true,
23+
"tests/test_module.py::test_search_image_returns_fewer_results_than_n_images": true,
24+
"tests/test_module.py::test_search_n_images_set_by_user": true,
25+
"tests/test_module.py::test_search_query_only_returns_100_images": true,
26+
"tests/test_module.py::test_search_with_image_size_parameter": true
27+
}

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ init:
22
python3.6 -m pip install -r requirements.txt -U
33

44
test:
5-
#py.test tests/test.py --verbose --cov-report term --cov-report xml --cov imagesoup
6-
#python3.5 -m pytest tests/test.py --verbose --cov-report term --cov-report xml --cov imagesoup
7-
python3.6 -m pytest tests/test.py --verbose --cov-report term --cov-report xml --cov imagesoup
8-
#python2.7 -m pytest tests/test.py --verbose --cov-report term --cov-report xml --cov imagesoup
5+
python3.6 -m pytest --verbose --cov-report term --cov-report xml --cov imagesoup
6+
97

108
flake8:
119
flake8 --ignore=E501,F401,E128,E402,E731,F821 imagesoup

0 commit comments

Comments
 (0)