-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2855ae1
commit 3d98976
Showing
7 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "datagov-harvesting-logic" | ||
version = "0.0.2-2" | ||
version = "0.0.2-4" | ||
description = "" | ||
# authors = [ | ||
# {name = "Jin Sun", email = "[email protected]"}, | ||
|
@@ -14,7 +14,7 @@ maintainers = [ | |
] | ||
readme = "README.md" | ||
packages = [{include = "harvester"}] | ||
license = "LICENSE.md" | ||
license = "LICENSE.md" # TODO fix me | ||
repository = "https://github.com/GSA/datagov-harvesting-logic" | ||
|
||
[tool.poetry.dependencies] | ||
|
@@ -79,5 +79,5 @@ max-complexity = 10 | |
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
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,12 @@ | ||
from harvester.compare import compare | ||
|
||
def test_compare(): | ||
"""tests compare | ||
""" | ||
|
||
# stub, TODO complete | ||
test_compare = "some test messsage" | ||
compare_response = compare(test_compare) | ||
|
||
assert test_compare == compare_response |
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,12 @@ | ||
from harvester.transform import transform | ||
|
||
def test_transform(): | ||
"""tests transform | ||
""" | ||
|
||
# stub, TODO complete | ||
test_transform = "some test messsage" | ||
transform_response = transform(test_transform) | ||
|
||
assert test_transform == transform_response |