Commit 2c74071e authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'master' into feature/compressed-static

parents 79c19949 04268665
......@@ -51,17 +51,17 @@ class CommitteeMembersTest(TestCase):
m1 = CommitteeMembership(committee=self.testcie,
member=self.testuser,
since=timezone.now().date().replace(
year=2014, month=1),
year=2014, month=1, day=1),
until=timezone.now().date().replace(
year=2014, month=3))
year=2014, month=3, day=1))
m1.save()
m2 = CommitteeMembership(committee=self.testcie,
member=self.testuser,
since=timezone.now().date().replace(
year=2014, month=1),
year=2014, month=1, day=1),
until=timezone.now().date().replace(
year=2014, month=2))
year=2014, month=2, day=1))
with self.assertRaises(ValidationError):
m2.full_clean()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment