1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-01-26 06:03:46 +03:00

Unnecessary test removed

This commit is contained in:
Игорь Чудов 2020-02-14 15:14:45 +04:00
parent 59ccecd457
commit 38e70647f7
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -1,16 +0,0 @@
#! /usr/bin/env python3
from gpoa.util.users import with_privileges
from gpoa.util.arguments import set_loglevel
def test_fn():
with open('testfile', 'w') as f:
f.write('test')
def main():
set_loglevel(1)
with_privileges('test', test_fn)
if '__main__' == __name__:
main()