Skip to content

Commit

Permalink
fixing joies du code test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed Apr 16, 2019
1 parent 6f021a7 commit bf5bcee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -7,7 +7,7 @@ install:
pipenv install --system

lint:
pycodestyle --ignore=E126,E127,E128,W503 jarr/ --exclude=jarr/migrations
pipenv run pycodestyle --ignore=E126,E127,E128,W503 jarr/ --exclude=jarr/migrations

bootstrap-db:
psql -c 'CREATE DATABASE jarr_test;' -U postgres
Expand Down
5 changes: 2 additions & 3 deletions tests/libs/feed_utils_test.py
Expand Up @@ -36,11 +36,10 @@ def test_joies_du_code(self):
self.maxDiff = None
joi = construct_feed_from('https://lesjoiesducode.fr/feed', **cff_kw)
self.assertEqual(
{'description': "L'instant gif des développeurs !",
'icon_url': 'https://ljdchost.com/theme/favicons/favicon.ico',
{'icon_url': 'https://ljdchost.com/theme/favicons/favicon.ico',
'link': 'https://lesjoiesducode.fr/feed',
'site_link': 'https://lesjoiesducode.fr',
'title': 'Les joies du code'}, joi)
'title': 'Les joies du code 🖥️🤦\u200d♂️'}, joi)

def test_apod(self):
nasa = construct_feed_from('http://apod.nasa.gov/', **cff_kw)
Expand Down

0 comments on commit bf5bcee

Please sign in to comment.