def test_delete_note(self):
     samples.delete_note(self.note_id, PROJECT_ID)
     try:
         samples.get_note(self.note_obj, PROJECT_ID)
     except InvalidArgument:
         pass
     else:
         # didn't raise exception we expected
         assert (False)
 def test_create_note(self):
     new_note = samples.get_note(self.note_id, PROJECT_ID)
     assert new_note.name == self.note_obj.name
Beispiel #3
0
 def test_create_note(self):
     new_note = samples.get_note(self.note_id, PROJECT_ID)
     if new_note.name != self.note_obj.name:
         raise AssertionError