test/unittest_utils.py
changeset 10236 ef3059a692cb
parent 10235 684215aca046
child 10600 180aa08cad48
equal deleted inserted replaced
10235:684215aca046 10236:ef3059a692cb
    56     def test_parse_repo_uri(self):
    56     def test_parse_repo_uri(self):
    57         self.assertEqual(('inmemory', None, 'myapp'),
    57         self.assertEqual(('inmemory', None, 'myapp'),
    58                          parse_repo_uri('myapp'))
    58                          parse_repo_uri('myapp'))
    59         self.assertEqual(('inmemory', None, 'myapp'),
    59         self.assertEqual(('inmemory', None, 'myapp'),
    60                          parse_repo_uri('inmemory://myapp'))
    60                          parse_repo_uri('inmemory://myapp'))
    61         self.assertEqual(('zmqpickle-tcp', '127.0.0.1:666', ''),
       
    62                          parse_repo_uri('zmqpickle-tcp://127.0.0.1:666'))
       
    63         with self.assertRaises(NotImplementedError):
    61         with self.assertRaises(NotImplementedError):
    64             parse_repo_uri('foo://bar')
    62             parse_repo_uri('foo://bar')
    65 
    63 
    66 
    64 
    67 
    65