Skip to content

Commit 37d7308

Browse files
committed
Updated tests according to visualization
1 parent 3f0e866 commit 37d7308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def test_relevance_of_response(self):
368368
if('cdn.rawgit.com' in url):
369369
self.assertTrue(latest_commit_hash in url)
370370
if 'snippets' in response_2.json():
371-
snippets_list = ['animated-bfs.js', 'images.js', 'performance-tuning.js', 'visual.js']
371+
snippets_list = ['animated-bfs', 'images', 'performance-tuning', 'visual']
372372
for snippet in response_2.json()['snippets']:
373373
latest_commit_hash = response_2.json()['details']['latest_commit_hash']
374374
url = snippet['url']
@@ -393,7 +393,7 @@ def test_relevance_of_response(self):
393393
if('cdn.rawgit.com' in url):
394394
self.assertTrue(latest_commit_hash in url)
395395
if 'snippets' in response_3.json():
396-
snippets_list = ['one.js', 'two.js', 'three.js']
396+
snippets_list = ['one', 'two', 'three']
397397
for snippet in response_3.json()['snippets']:
398398
latest_commit_hash = response_3.json()['details']['latest_commit_hash']
399399
url = snippet['url']

0 commit comments

Comments
 (0)