Debian Codegraph @

tests/basic.tst

raw
1 #!/usr/bin/env python3
2 ## basic test for CVS master parsing
3
4 import sys, testlifter
5
6 testlifter.verbose += sys.argv[1:].count("-v")
7 repo = testlifter.CVSRepository("basic.repo")
8 repo.init()
9 repo.module("module")
10 co = repo.checkout("module", "basic.checkout")
11
12 co.write("README", "The quick brown fox jumped over the lazy dog.\n")
13 co.add("README")
14 co.commit("This is a sample commit")
15
16 repo.cleanup()
17
18 # end