16 lines
259 B
Python
Executable File
16 lines
259 B
Python
Executable File
#!/usr/bin/env python3
|
|
'''
|
|
aptly-resource test out
|
|
'''
|
|
|
|
from subprocess import run
|
|
|
|
with open('check.in.json', 'r', encoding='utf-8') as f:
|
|
contents = f.read()
|
|
|
|
run(['./check tmp'],
|
|
input = contents.encode(),
|
|
check = True,
|
|
shell = True,
|
|
)
|