Exemplo n.º 1
0
 def test_get_argument_returns_None_on_not_found(self):
     c = ConnectionInfo(None, None, dict(), {}, None)
     self.assertTrue(c.get_argument('arg') is None)
Exemplo n.º 2
0
 def test_get_argument_returns_None_on_not_found(self):
     c = ConnectionInfo(None, None, dict(), {}, None)
     self.assertTrue(c.get_argument('arg') is None)
Exemplo n.º 3
0
 def test_get_argument(self):
     c = ConnectionInfo(None, None, dict(arg=('myarg', '')), {}, None)
     self.assertEquals(c.get_argument('arg'), 'myarg')
Exemplo n.º 4
0
 def test_get_argument(self):
     c = ConnectionInfo(None, None, dict(arg=('myarg', '')), {}, None)
     self.assertEquals(c.get_argument('arg'), 'myarg')