def test_custom_js_in_preferences(self):
    'Check that custom js is included.'
    url = reverse('core:user_index')
    response = self.client.get(url)
    self.assertContains(response, 'function toggleSignatureEditor()')
Check that custom js is included.
def test_custom_js_in_preferences(self):
    
    url = reverse('core:user_index')
    response = self.client.get(url)
    self.assertContains(response, 'function toggleSignatureEditor()')