          )
  
      def test_empty_prefix_detail(self):
          response = self.client.get('/empty-prefix/1/')
          self.assertEqual(200, response.status_code)
          self.assertEqual(
              json.loads(response.content.decode('utf-8')),
              {
                  'uuid': '111',
                  'text': 'First'
              }
          )
 
</s> remove         self.assertEqual(200, response.status_code)
        self.assertEqual(
            json.loads(response.content.decode('utf-8')),
            [
                {'uuid': '111', 'text': 'First'},
                {'uuid': '222', 'text': 'Second'}
            ]
        )
 </s> add         assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == [{'uuid': '111', 'text': 'First'},
                                                                {'uuid': '222', 'text': 'Second'}] </s> remove         self.assertIn('<uuid>', detail_url_pattern)
 </s> add         assert '<uuid>' in detail_url_pattern </s> remove             self.assertEqual(route.mapping[method_map], method_name)
 </s> add             assert route.mapping[method_map] == method_name </s> remove             self.assertEqual(expected[idx], self.urls[idx].regex.pattern)
 </s> add             assert expected[idx] == self.urls[idx].regex.pattern
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
          )
  
      def test_empty_prefix_detail(self):
          response = self.client.get('/empty-prefix/1/')
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
        assert response.status_code == 200
        assert json.loads(response.content.decode('utf-8')) == {'uuid': '111', 'text': 'First'}
keep keep keep keep replace replace replace replace replace replace replace replace
 Refactor router tests to pytest style 
tests/test_routers.py