From 1de97d204d457a6107170cf12e9880785846fede Mon Sep 17 00:00:00 2001 From: Russell Horton Date: Thu, 20 Dec 2012 14:53:51 -0800 Subject: [PATCH] updated env var documentation --- .../client/wordnik-api/php/tests/BaseApiTest.php | 9 ++++----- .../client/wordnik-api/python/tests/BaseApiTest.py | 9 ++++----- .../client/wordnik-api/python3/tests/BaseApiTest.py | 13 ++++++------- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/samples/client/wordnik-api/php/tests/BaseApiTest.php b/samples/client/wordnik-api/php/tests/BaseApiTest.php index 594ca202e0a..6ba623cc86d 100644 --- a/samples/client/wordnik-api/php/tests/BaseApiTest.php +++ b/samples/client/wordnik-api/php/tests/BaseApiTest.php @@ -2,11 +2,10 @@ // Unit tests for PHP Wordnik API client. // -// Requires you to set four environment varibales: -// WN_APIKEY your API key -// WN_APIURL the API base url -// WN_USERNAME the username of a user -// WN_PASSWORD the user's password +// Requires you to set three environment varibales: +// API_KEY your API key +// USER_NAME the username of a user +// PASSWORD the user's password // Run all tests: // diff --git a/samples/client/wordnik-api/python/tests/BaseApiTest.py b/samples/client/wordnik-api/python/tests/BaseApiTest.py index 6f8db63247d..b257152419c 100644 --- a/samples/client/wordnik-api/python/tests/BaseApiTest.py +++ b/samples/client/wordnik-api/python/tests/BaseApiTest.py @@ -1,11 +1,10 @@ #!/usr/bin/env python """Unit tests for Python Wordnik API client. -Requires you to set four environment varibales: - WN_APIKEY your API key - WN_APIURL the API base url - WN_USERNAME the username of a user - WN_PASSWORD the user's password +Requires you to set three environment varibales: + API_KEY your API key + USER_NAME the username of a user + PASSWORD the user's password Run all tests: diff --git a/samples/client/wordnik-api/python3/tests/BaseApiTest.py b/samples/client/wordnik-api/python3/tests/BaseApiTest.py index 6f8db63247d..69c338e5947 100644 --- a/samples/client/wordnik-api/python3/tests/BaseApiTest.py +++ b/samples/client/wordnik-api/python3/tests/BaseApiTest.py @@ -1,15 +1,14 @@ #!/usr/bin/env python -"""Unit tests for Python Wordnik API client. +"""Unit tests for Python3 Wordnik API client. -Requires you to set four environment varibales: - WN_APIKEY your API key - WN_APIURL the API base url - WN_USERNAME the username of a user - WN_PASSWORD the user's password +Requires you to set three environment varibales: + API_KEY your API key + USER_NAME the username of a user + PASSWORD the user's password Run all tests: - python BaseApiTest.py + python3.2 BaseApiTest.py """