commit
b2f6863c2b
2 changed files with 5 additions and 5 deletions
|
@ -7,12 +7,11 @@ try:
|
|||
except ImportError:
|
||||
print ("********************************************************************\n"
|
||||
"You need to create a 'tokens.py' file containing the following:\n\n"
|
||||
" host = \"<test_url>\"\n"
|
||||
" host = \"<hostname>\"\n"
|
||||
" consumer_key = \"<test_consumer_key>\"\n"
|
||||
" consumer_secret = \"<test_consumer_secret>\"\n"
|
||||
" token = \"<test_token>\"\n"
|
||||
" token_secret = \"<test_token_secret>\"\n"
|
||||
" host = \"<hostname>\"\n\n"
|
||||
"WARNING: Don't use a production OpenPhoto instance for this!\n"
|
||||
"********************************************************************\n")
|
||||
raise
|
||||
|
@ -27,7 +26,6 @@ class TestBase(unittest.TestCase):
|
|||
unittest.TestCase.__init__(self, *args, **kwds)
|
||||
self.photos = []
|
||||
|
||||
LOG_FILENAME = "tests.log"
|
||||
logging.basicConfig(filename="tests.log",
|
||||
filemode="w",
|
||||
format="%(message)s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue