'Patch ``admin.packaging._native_package_type`` to return a fixed value.'

def setUp(self):

    super(DockerBuildOptionsTests, self).setUp()
    self.patch(packaging, '_native_package_type', (lambda : self.native_package_type))
