-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from vanna-ai/create-dataset-bug
fix create dataset bug
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,4 +199,11 @@ def test_remove_training_data(): | |
rv = vn.remove_training_data(row['id']) | ||
assert rv == True | ||
|
||
assert vn.get_training_data().shape[0] == 2-index | ||
assert vn.get_training_data().shape[0] == 2-index | ||
|
||
def test_create_dataset_and_add_user(): | ||
created = vn.create_dataset('test_org2', 'Snowflake') | ||
assert created == True | ||
|
||
added = vn.add_user_to_dataset(dataset='test_org2', email="[email protected]", is_admin=False) | ||
assert added == True |