Skip to content

Commit

Permalink
Merge branch 'main' into feature/co-author-invalid-email
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmango authored May 7, 2024
2 parents 9f16352 + 679b7a8 commit b32824c
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 @@ -1152,7 +1152,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 b32824c

Please sign in to comment.