File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -1041,28 +1041,6 @@ def test_audit_shellcommandtask(tmpdir):
1041
1041
assert any (label_content )
1042
1042
1043
1043
1044
- def test_audit_task (tmpdir ):
1045
- @mark .task
1046
- def testfunc (a : int , b : float = 0.1 ) -> ty .NamedTuple ("Output" , [("out" , float )]):
1047
- return a + b
1048
-
1049
- from glob import glob
1050
-
1051
- funky = testfunc (a = 2 , audit_flags = AuditFlag .PROV , messengers = FileMessenger ())
1052
- funky .cache_dir = tmpdir
1053
- funky ()
1054
- message_path = tmpdir / funky .checksum / "messages"
1055
- # go through each jsonld file in message_path and check if the label field exists
1056
- for file in glob (str (message_path ) + "/*.jsonld" ):
1057
- with open (file , "r" ) as f :
1058
- data = json .load (f )
1059
- if "label" in data :
1060
- print (data )
1061
- assert True
1062
-
1063
- # Write new test for shell command task
1064
-
1065
-
1066
1044
def test_audit_prov_messdir_1 (tmpdir , use_validator ):
1067
1045
"""customized messenger dir"""
1068
1046
You can’t perform that action at this time.
0 commit comments