mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-05 12:07:16 +00:00
Fix param name for median test (#7942)
* Fixed param name for median test * Fixed unite test for median DQ
This commit is contained in:
parent
7a45ecdc3e
commit
15f7c4aa41
@ -86,7 +86,7 @@ def column_value_median_to_be_between(
|
||||
(
|
||||
float(param.value)
|
||||
for param in test_case.parameterValues
|
||||
if param.name == "maxValueForMedianInCol"
|
||||
if param.name == "maxColValue"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@ -225,7 +225,7 @@ class testSuiteValidation(unittest.TestCase):
|
||||
testDefinition=EntityReference(id=uuid4(), type="TestDefinition"),
|
||||
parameterValues=[
|
||||
TestCaseParameterValue(name="minValueForMedianInCol", value="1"),
|
||||
TestCaseParameterValue(name="maxValueForMedianInCol", value="10"),
|
||||
TestCaseParameterValue(name="maxColValue", value="10"),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user