def test_multiple_valid_args(self): self.assertEqual({ 'default': 10, 'foo': 5 }, devappserver2.parse_max_server_instances('default:10,foo:5'))
def test_multiple_valid_args(self): self.assertEqual( {'default': 10, 'foo': 5}, devappserver2.parse_max_server_instances('default:10,foo:5'))
def test_single_valid_arg(self): self.assertEqual(1, devappserver2.parse_max_server_instances('1'))