'Test: create/edit a package object'

def _create_package(self):

    packages = self.remote.get_packages(self.token)
    tprint('get_packages')
    packages = self.remote.get_packages(self.token)
    tprint('new_package')
    package = self.remote.new_package(self.token)
    tprint('modify_package')
    self.assertTrue(self.remote.modify_package(package, 'name', 'testpackage0', self.token))
    tprint('save_package')
    self.assertTrue(self.remote.save_package(package, self.token))
    new_packages = self.remote.get_packages(self.token)
    self.assertTrue((len(new_packages) == (len(packages) + 1)))
