How to use the discover.views.map function in discover

To help you get started, we’ve selected a few discover examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nlhkabu / connect / discover / tests.py View on Github external
def test_map_url_resolves_to_map_view(self):
        url = resolve('/dashboard/map/')

        self.assertEqual(url.func, map)