tests/pymox/stubout_testee.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 01 Feb 2009 17:52:12 +0000
changeset 1161 ad352f3a37d3
parent 1000 9af147fc1f1c
permissions -rw-r--r--
This patch prohibits changing of agreed_to_tos and agreed_to_tos_on by the Logic module. This is used so that legally the agreed_to_tos fields can never change in the User model once set. Patch by: Haoyu Bai Reviewed by: Lennard de Rijk

def SampleFunction():
  raise Exception('I should never be called!')