Skip to content

Commit

Permalink
rename some tests in tests/service_atcoder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyk committed Nov 22, 2019
1 parent 00adee2 commit 7db05b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/service_atcoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def test_get_score_float(self):


class AtCoderProblemDataTest(unittest.TestCase):
def test_from_html_first_format(self):
def test_from_html_very_old(self):
url = 'https://atcoder.jp/contests/utpc2011/tasks/utpc2011_1'
resp = requests.get(url)
html = resp.content.decode(resp.apparent_encoding)
Expand All @@ -303,7 +303,7 @@ def test_from_html_first_format(self):
self.assertEqual(data.score, None)
self.assertEqual(data.time_limit_msec, 1 * 1000)

def test_from_html_second_format(self):
def test_from_html_old(self):
url = 'https://atcoder.jp/contests/abc003/tasks/abc003_4'
resp = requests.get(url)
html = resp.content.decode(resp.apparent_encoding)
Expand All @@ -325,7 +325,7 @@ def test_from_html_second_format(self):
self.assertEqual(data.score, None)
self.assertEqual(data.time_limit_msec, 2 * 1000)

def test_from_html_third_format(self):
def test_from_html_standard(self):
url = 'https://atcoder.jp/contests/abc114/tasks/abc114_d'
resp = requests.get(url)
html = resp.content.decode(resp.apparent_encoding)
Expand Down

0 comments on commit 7db05b0

Please sign in to comment.