summaryrefslogtreecommitdiff
path: root/tests/unittests/test_pathprefix2dict.py
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2019-12-16 07:08:25 -0800
committerDaniel Watkins <oddbloke@ubuntu.com>2019-12-16 10:08:25 -0500
commit22054368db4cb83074860f8114e61a8fb183489d (patch)
tree3073c164a65749ce9b59a2a58c96d9e7e3f43e94 /tests/unittests/test_pathprefix2dict.py
parentf9989731c05d979649689bfeec32bedd24c2440a (diff)
downloadvyos-cloud-init-22054368db4cb83074860f8114e61a8fb183489d.tar.gz
vyos-cloud-init-22054368db4cb83074860f8114e61a8fb183489d.zip
tests: mock uid when running as root (#113)
The query command checks the user's uid when running and takes two different code paths. As a normal user is returns fake data, that these tests were expecting. As a root user, the actual user and vendor data files are ready. LP: #1856096
Diffstat (limited to 'tests/unittests/test_pathprefix2dict.py')
0 files changed, 0 insertions, 0 deletions