def test_int_id(self): self.assertFalse(is_new_id(6))
def test_string_id(self): self.assertFalse(is_new_id('6'))
def test_new_id(self): self.assertTrue(is_new_id('_new'))