can anyone give help me how to test the following url in django?
path('<int:id>/update/', MyUpdateView.as_view(), name='my-update')
So far I have this, but it does not contains the param, therefore it fails.
def test_url(self):
url = reverse('my-update')
self.assertEquals(resolve(url).func.view_class,
MyUpdateView)
Thank you in advance!