Do not create a new version of the template if there is no change to the tempalte.

This commit is contained in:
Rebecca Law
2016-06-01 10:53:03 +01:00
parent a97f3bbb4f
commit 0a9cdbd75a
3 changed files with 30 additions and 29 deletions

View File

@@ -1,8 +1,6 @@
import json
from datetime import (datetime, date)
from flask import url_for
from app.models import Template
from freezegun import freeze_time
from app.dao.templates_dao import dao_update_template
from tests import create_authorization_header