Update models.py

OMR - Removed duplicate function in test