Skip to content

Commit

Permalink
tests fix base_spider test
Browse files Browse the repository at this point in the history
Signed-off-by: Yohanna Lisnichuk <yohanitalisnichuk@gmail.com>
  • Loading branch information
yolile committed May 26, 2021
1 parent 827c4db commit c3cc1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_base_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_qs_parameters(kwargs, expected):


def test_data_base_url_without_crawl_time():
expected = "spider argument `compile_releases`: can't be set if spider returns records"
expected = "spider argument `crawl_time`: can't be blank if `DATABASE_URL` is set"

with pytest.raises(SpiderArgumentError) as e:
spider_with_crawler(settings={'DATABASE_URL': 'test'})
Expand Down

0 comments on commit c3cc1e5

Please sign in to comment.