import os
import unittest

current_path = os.path.abspath(os.curdir)
os.chdir(os.pardir)

import apply_ssh


class TestApplySSH(unittest.TestCase):
    def test_is_target(self):
        root_path = os.path.abspath(os.curdir)
        file_name_spec = ''
        applier = apply_ssh.ApplySSH(root_path, file_name_spec)
        self.assertTrue(applier.is_target('https://bitbucket.org/pyslide.git'))
        self.assertFalse(applier.is_target(None))


if __name__ == '__main__':
    unittest.main()

@@ -440,16 +440,99 @@
 (None))%0A
+        self.assertFalse(applier.is_target('https://github.com/torch/torch7.git'))%0A
 %0A%0Aif __n

test_is_target() : added one more False case