#514 Revert "Merge #506 `Trailing slash fix`"
Merged 4 years ago by gnaponie. Opened 4 years ago by apaplaus.
apaplaus/freshmaker reverting-slash-fix  into  master

file modified
+1 -1
@@ -9,7 +9,7 @@ 

  pyOpenSSL

  python-fedora

  sqlalchemy

- Flask>=1.0.3

+ Flask

  Flask-Migrate

  Flask-SQLAlchemy

  Flask-Login

file modified
-7
@@ -589,13 +589,6 @@ 

          self.assertEqual(data['depends_on_events'], [event1.id])

          self.assertEqual(data['depending_events'], [])

  

-     def test_trailing_slash(self):

-         urls = ('/api/2/builds', '/api/2/builds/',

-                 '/api/2/events', '/api/2/events/')

-         for url in urls:

-             response = self.client.get(url, follow_redirects=True)

-             self.assertEqual(response.status_code, 200)

- 

  

  class TestViewsMultipleFilterValues(helpers.ModelsTestCase):

      def setUp(self):

This reverts commit 42f403b, reversing
changes made to 8d1e4ec.

Reverting slash-fix change because versions of Flask >= 1.0.3 is not supported in Fedora 29 repo, which we are using.

Pull-Request has been merged by gnaponie

4 years ago