File: gen_test_prod.py

package info (click to toggle)
clipf 0.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 140 kB
  • ctags: 80
  • sloc: python: 673; makefile: 42
file content (15 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python

def run():

    for gr in range(10):
        if gr:
            dc='0'
        else:
            dc='1'
        print "gr%02d.:0:Group %02d" % (gr,gr)
        for pr in range(20):
            print "gr%02d.pr%02d:%s:Product %02d%02d" % (gr,pr,dc,gr,pr)

run()