GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add malformed co-authors to the test, to check they aren't detected w… · gitpython-developers/GitPython@3cb7ecf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • test_commit.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/test_commit.py‎

Copy file name to clipboardExpand all lines: test/test_commit.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,12 @@ def test_commit_co_authors(self):
515515
commit.message = """Commit message
516516
517517
Co-authored-by: Test User 1 <[email protected]>
518-
Co-authored-by: test_user_2 <[email protected]>"""
518+
Co-authored-by: test_user_2 <[email protected]>
519+
Co_authored_by: test_user_x <[email protected]>
520+
Co-authored-by: test_user_y <poorly formatted email @github.com>
521+
Co-authored-by: test_user_3 <[email protected]>"""
519522
assert commit.co_authors == [
520523
Actor("Test User 1", "[email protected]"),
521-
Actor("test_user_2", "[email protected]"),
524+
Actor("test_user_2", "[email protected]"),
525+
Actor("test_user_3", "[email protected]"),
522526
]

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.