コード例 #1
0
ファイル: test_models.py プロジェクト: rowanv/superbiscuit
	def test_cannot_save_empty_appointment_time(self):
		appointment = Appointment(time=None)
		with self.assertRaises(ValidationError):
			appointment.save()
			appointment.full_clean()