|
|
@ -54,3 +54,6 @@ class TestWithLogin(TestCase): |
|
|
|
#obj.save() |
|
|
|
print(f'pid: {obj.project_of_year}') |
|
|
|
self.assertEqual(obj.project_of_year,1) |
|
|
|
|
|
|
|
obj2 = Project.objects.create(account= acc, name='testproject2', start=startdate) |
|
|
|
self.assertEqual(obj.project_of_year,2) |