@@ -0,0 +1,410 @@
+from .. import lock%0A%0A%0Aclass TestLock(object):%0A%0A    def test_canonicalize_hostname(self):%0A        host_base = 'box1'%0A        result = lock.canonicalize_hostname(host_base)%0A        assert result == 'ubuntu@box1.front.sepia.ceph.com'%0A%0A    def test_decanonicalize_hostname(self):%0A        host = 'ubuntu@box1.front.sepia.ceph.com'%0A        result = lock.decanonicalize_hostname(host)%0A        assert result == 'box1'%0A

Add unit tests for (de)canonicalize_hostname()