Skip to content

Commit

Permalink
fix(test): use 202* for test
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Jan 11, 2020
1 parent 5bad9da commit 35ea095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_model/test_model_base.py
Expand Up @@ -164,8 +164,8 @@ def test_all(self):

project = db.session.query(Project).get(project_id)
assert project.name == 'My New Project', project
# year would start with 201...
assert project.created.startswith('201'), project.created
# year would start with 202...
assert project.created.startswith('202'), project.created
assert len(project.tasks) == 1, project
assert project.owner.name == username, project
out_task = project.tasks[0]
Expand Down

0 comments on commit 35ea095

Please sign in to comment.