Add e2e test for repos status

This commit is contained in:
2022-01-04 11:56:55 +01:00
parent a94bd19362
commit f9d9dc587a
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
import tempfile
from helpers import *
def test_repos_sync_worktree_clone():
with RepoTree() as (root, config, repos):
cmd = grm(["repos", "status", "--config", config])
assert cmd.returncode == 0
for repo in repos:
assert repo in cmd.stdout