-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge integration (autocomplete support) into rel/1.0.X
- Loading branch information
Showing
11 changed files
with
195 additions
and
27 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
"http://github.com/usnistgov/oar-metadata/", | ||
"[email protected]") | ||
|
||
def setUpModule(): | ||
res._client_info = None | ||
|
||
class TestFuncs(test.TestCase): | ||
|
||
def tearDown(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,10 @@ | |
cli = ("NIST Open Access for Research", "testing", | ||
"http://github.com/usnistgov/oar-metadata/", | ||
"[email protected]") | ||
set_client_info(*cli) | ||
def setUpModule(): | ||
set_client_info(*cli) | ||
def tearDownModule(): | ||
set_client_info(None, None, None, None) | ||
|
||
logger = logging.getLogger("test") | ||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,10 @@ | |
"email": "[email protected]" | ||
} | ||
|
||
def setUpModule(): | ||
import nistoar.doi.resolving.common as res | ||
res._client_info = None | ||
|
||
class TestConvertAuthors(unittest.TestCase): | ||
|
||
def test_citeproc_author2nerdm_author(self): | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /bin/bash | ||
# | ||
# Used by test_wsgi.py, this script prints arguments to a given output file | ||
# | ||
# USAGE: postcomm.sh OUTFILE [ARG ...] | ||
# | ||
set -e | ||
[ -n "$1" ] || { | ||
echo "${0}: Missing output filename" | ||
exit 1 | ||
} | ||
out=$1; shift | ||
|
||
echo "$@" > $out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.