From 79560b1647fe38edd7ff1927ff01cfce76ea9b55 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jun 22 2017 16:04:23 +0000 Subject: PR#480 koji_cli name interferes with new library Merges #480 https://pagure.io/koji/pull-request/480 --- diff --git a/tests/test_cli/loadcli.py b/tests/test_cli/loadcli.py index 37b4e48..c2800ac 100644 --- a/tests/test_cli/loadcli.py +++ b/tests/test_cli/loadcli.py @@ -1,6 +1,6 @@ from __future__ import absolute_import import os -import sys +#import sys # We have to do this craziness because 'import koji' is ambiguous. Is it the # koji module, or the koji cli module. Jump through hoops accordingly. @@ -16,4 +16,4 @@ else: ''' import imp -cli = imp.load_source('koji_cli', CLI_FILENAME) +cli = imp.load_source('koji_cli_fake', CLI_FILENAME)