Browse Source

Fix typo

fix_empty_req
sqozz 2 years ago
parent
commit
810f922927
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/functional_tests.py

+ 1
- 1
tests/functional_tests.py View File

@@ -51,7 +51,7 @@ class SchortRegressionTests(unittest.TestCase, WebTestCase):
req = requests.post(BASE_URL + "/", data={"url": ""})
self.assertEqual(req.status_code, 400, msg="Could not handle a request with empty url")
req = requests.post(BASE_URL + "/", data={})
self.assertEqual(req.status_code, 400, msg="Could not handle a request with url at all")
self.assertEqual(req.status_code, 400, msg="Could not handle a request without a url at all")


class SchortShortLinkCase(object):

Loading…
Cancel
Save