How to use the amcrest.utils.clean_url function in amcrest

To help you get started, we’ve selected a few amcrest 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 tchellomello / python-amcrest / tests / test_utils.py View on Github external
def test_clean_url(self):
        """Test return code from utils.clean_url."""
        self.assertEqual('www.foo.bar', clean_url('http://www.foo.bar/'))
        self.assertEqual('www.foo.bar', clean_url('https://www.foo.bar'))
github tchellomello / python-amcrest / tests / test_utils.py View on Github external
def test_clean_url(self):
        """Test return code from utils.clean_url."""
        self.assertEqual('www.foo.bar', clean_url('http://www.foo.bar/'))
        self.assertEqual('www.foo.bar', clean_url('https://www.foo.bar'))

amcrest

Python wrapper implementation for Amcrest cameras.

GPL-2.0
Latest version published 8 months ago

Package Health Score

68 / 100
Full package analysis