示例#1
0
 def test_multiple_valid_args(self):
     self.assertEqual({
         'default': 10,
         'foo': 5
     }, devappserver2.parse_max_server_instances('default:10,foo:5'))
示例#2
0
 def test_multiple_valid_args(self):
   self.assertEqual(
       {'default': 10,
        'foo': 5},
       devappserver2.parse_max_server_instances('default:10,foo:5'))
示例#3
0
 def test_single_valid_arg(self):
     self.assertEqual(1, devappserver2.parse_max_server_instances('1'))
示例#4
0
 def test_single_valid_arg(self):
   self.assertEqual(1, devappserver2.parse_max_server_instances('1'))