(testrepo: Repository)
| 68 | |
| 69 | |
| 70 | def test_describe_pattern(testrepo: Repository) -> None: |
| 71 | add_tag(testrepo, 'private/tag1', '5ebeeebb320790caf276b9fc8b24546d63316533') |
| 72 | add_tag(testrepo, 'public/tag2', '4ec4389a8068641da2d6578db0419484972284c8') |
| 73 | |
| 74 | assert 'public/tag2-2-g2be5719' == testrepo.describe(pattern='public/*') |
| 75 | |
| 76 | |
| 77 | def test_describe_committish(testrepo: Repository) -> None: |