Merge branch '11766-workflow-deadlock' closes #11766
[arvados.git] / sdk / python / tests / test_keep_locator.py
index 2a90316e4cdf8500d2549bf34acb04c657112ed1..4c3d920f7bda2e19a23c49e54983bcf5335fa4be 100644 (file)
@@ -1,6 +1,3 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
 from builtins import next
 from builtins import zip
 from builtins import str
@@ -66,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))