def test_set_managed_ids_creates_new_file_if_needed(self):
    self.assertFalse(os.path.exists(self.temppath))
    archive = ManagedROMArchive(self.temppath)
    archive.set_managed_ids(self.mock_user, ["1234567890"])

    self.assertTrue(os.path.exists(self.temppath))