Skip to content

Commit

Permalink
Merge pull request #4313 from nickmango/bug/user_summary_body
Browse files Browse the repository at this point in the history
[#4195] Bug/User Summary Body
  • Loading branch information
nickmango authored May 7, 2024
2 parents a4154e1 + 8b4dfe8 commit 679b7a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions cla-backend/cla/tests/unit/test_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ def test_event_time(mock_event):
assert mock_event.get_event_time() <= datetime.datetime.utcnow()


def test_event_time_epoch(mock_event):
""" Test event time epoch """
mock_event.save()
assert mock_event.get_event_time_epoch() <= datetime.datetime.utcnow().timestamp()


def test_company_id_external_project_id(mock_event):
Expand Down
2 changes: 1 addition & 1 deletion cla-backend/cla/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ def get_comment_body(repository_type, sign_url, signed: List[UserCommitSummary],
if len(signed) > 0 or len(missing) > 0:
committers_comment += '</ul>'

committers_comment += '<!-- Date Modified: ' + str(datetime.datetime.now()) + ' -->'
committers_comment += '<!-- Date Modified: ' + str(datetime.now()) + ' -->'

if len(signed) > 0 and len(missing) == 0:
text = "The committers listed above are authorized under a signed CLA."
Expand Down

0 comments on commit 679b7a8

Please sign in to comment.