def test_get_kwargs_for_model(self):
     os = dict(platform="win",
               version="6.1",
               sp="",
               arch="x64")
     kwargs = get_kwargs_for_model(Os, os)
     self.assertDictEqual(kwargs, dict(platform="win",
                                       version="6.1",
                                       sp="",
                                       arch="x64",
                                       id=None))
 def test_get_kwargs_for_model(self):
     os = dict(platform="win",
               version="6.1",
               sp="",
               arch="x64")
     kwargs = get_kwargs_for_model(Os, os)
     self.assertDictEqual(kwargs, dict(platform="win",
                                       version="6.1",
                                       sp="",
                                       arch="x64",
                                       id=None))