Skip to content

Commit

Permalink
update test for travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandaka committed Oct 24, 2020
1 parent 355fcce commit aea8c8c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test_PixivModel_fanbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,11 @@ def cover_more_format():
searchTags='')
filename = PixivHelper.sanitize_filename(filename, root_dir)

self.assertEqual(filename, root_dir + os.sep + u"15521131" + os.sep + u"136761_アスナさん02_136761_OqhhcslOfbzZpHyTfJNtnIWm_2018-08-26 20_28_16.jpeg")
expected_name = root_dir + os.sep + u"15521131" + os.sep + u"136761_アスナさん02_136761_OqhhcslOfbzZpHyTfJNtnIWm_2018-08-26 20:28:16.jpeg"
if platform.system() == 'Windows':
expected_name = root_dir + os.sep + u"15521131" + os.sep + u"136761_アスナさん02_136761_OqhhcslOfbzZpHyTfJNtnIWm_2018-08-26 20_28_16.jpeg"

self.assertEqual(filename, expected_name)
cover_more_format()

def test_links_in_p_tags(self):
Expand Down

0 comments on commit aea8c8c

Please sign in to comment.