X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/79aeb557d94681fb7e55321aeee2e20df1430b30..4d0d27f83183b6659a570ae1fc07f95aefe0b23e:/sdk/python/tests/test_keep_locator.py diff --git a/sdk/python/tests/test_keep_locator.py b/sdk/python/tests/test_keep_locator.py index 9b9c4b6ab3..4c3d920f7b 100644 --- a/sdk/python/tests/test_keep_locator.py +++ b/sdk/python/tests/test_keep_locator.py @@ -63,6 +63,11 @@ class ArvadosKeepLocatorTest(unittest.TestCase): locator = '+'.join((base,) + loc_hints) self.assertEqual(locator, str(KeepLocator(locator))) + def test_str_type(self): + base = next(self.base_locators(1)) + locator = KeepLocator(base) + self.assertEqual(type(''), type(locator.__str__())) + def test_expiry_passed(self): base = next(self.base_locators(1)) signature = next(self.signatures(1))