This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #32 from C-Accel-CRIPT/develop
updates and Bug fix
- Loading branch information
Showing
12 changed files
with
496 additions
and
21 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 was deleted.
Oops, something went wrong.
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,5 +1,5 @@ | ||
cript==0.4.1 | ||
cript==0.4.7 | ||
openpyxl==3.0.10 | ||
pandas==1.4.3 | ||
pandas==1.4.4 | ||
PyYAML==6.0 | ||
tqdm==4.64.0 |
File renamed without changes.
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,5 @@ | ||
# TESTING | ||
|
||
Download "testing_template_v0.xlsx" from cript google drive. | ||
Put it in the "tests" folder and make sure to use it as path | ||
variable when running unit tests. |
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,72 @@ | ||
import src.create as create | ||
from src.create import error_list | ||
import pytest | ||
|
||
""" | ||
TODO | ||
Will have to make related_objs(dict of dicts), cell_value(str), parsed_cell(dict). | ||
Test for succesful and exception part of the try and except statement. | ||
""" | ||
|
||
|
||
def test_get_relation(): | ||
pass | ||
|
||
|
||
""" | ||
TODO | ||
for each create_ check that each if statement is going off fine. Will double as checking | ||
the create_object function since pretty much all of them end in calling create_object. | ||
""" | ||
|
||
|
||
def test_create_experiments(): | ||
pass | ||
|
||
|
||
def test_create_citations(): | ||
pass | ||
|
||
|
||
def test_create_data(): | ||
pass | ||
|
||
|
||
def test_create_materials(): | ||
pass | ||
|
||
|
||
def test_create_mixtures(): | ||
pass | ||
|
||
|
||
def test_create_processes(): | ||
pass | ||
|
||
|
||
def test_create_mixtures(): | ||
pass | ||
|
||
|
||
def test_create_prerequisites(): | ||
pass | ||
|
||
|
||
def test_create_ingredients(): | ||
pass | ||
|
||
|
||
def test_create_products(): | ||
pass | ||
|
||
|
||
def test_create_equipment(): | ||
pass | ||
|
||
|
||
def test_create_property(): | ||
pass | ||
|
||
|
||
def test_create_condition(): | ||
pass |
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,8 @@ | ||
import src.main as main | ||
import pytest | ||
|
||
""" | ||
TODO -wait until Brilant is done. | ||
Multiple upload tests, use different small excel sheets. | ||
Also have an upload with config empty and config filled out. | ||
""" |
Oops, something went wrong.