diff options
author | Jason Brand <jbrand42@users.noreply.github.com> | 2022-02-16 00:22:37 +0000 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2022-03-11 18:33:50 -0500 |
commit | f6342fc5f00b48e679e7c2c3579b1b27d94ffc1f (patch) | |
tree | e57a2033adf50cc1ef48155cd061a2446de12d1c /tests | |
parent | 3f3451fd46353fa173f6c083b1c38438d04a68ea (diff) |
Prettify, add %C as acceptable controlpath token, mock gethostname
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 5e9aa059..892b4c92 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -42,6 +42,7 @@ def socket(): # Patch out getfqdn to return some real string for when it gets called; # some code (eg tokenization) gets mad w/ MagicMocks mocket.getfqdn.return_value = "some.fake.fqdn" + mocket.gethostname.return_value = "local.fake.fqdn" yield mocket |