diff options
author | Joshua Powers <josh.powers@canonical.com> | 2019-12-16 07:08:25 -0800 |
---|---|---|
committer | Daniel Watkins <oddbloke@ubuntu.com> | 2019-12-16 10:08:25 -0500 |
commit | 22054368db4cb83074860f8114e61a8fb183489d (patch) | |
tree | 3073c164a65749ce9b59a2a58c96d9e7e3f43e94 /tests/unittests/test_pathprefix2dict.py | |
parent | f9989731c05d979649689bfeec32bedd24c2440a (diff) | |
download | vyos-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