forked from stanfordnlp/dspy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run test before publishing to pypi (stanfordnlp#7904)
* add testing * package name * use __version__ instead of importlib * name back
- Loading branch information
1 parent
2957c5f
commit 12a22b1
Showing
3 changed files
with
29 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import dspy | ||
import re | ||
|
||
|
||
def test_metadata(): | ||
assert dspy.__name__ == "dspy" | ||
assert re.match(r"\d+\.\d+\.\d+", dspy.__version__) | ||
assert dspy.__author__ == "Omar Khattab" | ||
assert dspy.__author_email__ == "okhattab@stanford.edu" | ||
assert dspy.__url__ == "https://github.com/stanfordnlp/dspy" | ||
assert dspy.__description__ == "DSPy" |