Commit 9a19acb5 authored by Hang Zhang's avatar Hang Zhang Committed by Facebook GitHub Bot
Browse files

Add d2go.tests back for unittest on GitHub

Summary:
we need to load the [config file](https://github.com/facebookresearch/d2go/blob/master/tests/misc/test_configs.py#L35) during the unittest.

The `get_resource_path` need to use `d2go.tests`
https://fburl.com/whn41ma0

The test fail at
https://github.com/facebookresearch/d2go/runs/2272258836

Pull Request resolved: https://github.com/facebookresearch/d2go/pull/35

Reviewed By: wat3rBro

Differential Revision: D27578008

Pulled By: zhanghang1989

fbshipit-source-id: 5fa24c7f74bc3e59ffee98d57f02a2a558c2a4b0
parent efe74d2a
......@@ -79,11 +79,12 @@ if __name__ == '__main__':
license='Apache-2.0',
install_requires=requirements,
packages=find_packages(exclude=["tools", "tests"]),
package_data={'resnest': [
package_data={'d2go': [
'LICENSE',
],
"d2go.model_zoo": get_model_zoo_configs(),
"d2go.tools": d2go_gather_files("tools", "tools", "**/*.py"),
"d2go.tests": d2go_gather_files("tests", "tests", "**/*helper.py"),
},
entry_points={
'console_scripts': [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment