aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_fact_sales_order.py
diff options
context:
space:
mode:
authorbulve-ad <78788030+bulve-ad@users.noreply.github.com>2024-08-23 17:25:29 +0100
committerGitHub <noreply@github.com>2024-08-23 17:25:29 +0100
commit8f75a47d01daf94999ee94a6c658adab6ca63c1d (patch)
tree64b5bb5010b9124ae612dcc7e7cb75400fa07241 /tests/test_fact_sales_order.py
parent30525f27ba1d20c65216cbe58a62953b8f1fe947 (diff)
parentf1e10e1a2f573c152b19a630577a71ce9aff2bb4 (diff)
downloadde-project-bentley-8f75a47d01daf94999ee94a6c658adab6ca63c1d.tar.gz
de-project-bentley-8f75a47d01daf94999ee94a6c658adab6ca63c1d.zip
Merge branch 'test/test_transform_lambda' into test/dataframes
Diffstat (limited to 'tests/test_fact_sales_order.py')
-rw-r--r--tests/test_fact_sales_order.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_fact_sales_order.py b/tests/test_fact_sales_order.py
index a245379..77395a1 100644
--- a/tests/test_fact_sales_order.py
+++ b/tests/test_fact_sales_order.py
@@ -4,6 +4,7 @@ from unittest.mock import patch
from datetime import datetime as dt
+
class TestCreateDimDesign:
def test_dim_design_returns_dataframe(self):
d = {
@@ -134,6 +135,7 @@ class TestCreateDimCounterparty:
class TestCreateDimCurrency:
+
def test_dim_currency_returns_columns_and_values(self):
nones = [None, None, None]
d = {
@@ -244,3 +246,4 @@ class TestCreateDimTransaction:
}
result = create_dim_transaction(dict_df)
assert list(result.columns) == ["transaction_id", "some_other_id"]
+
git.ajschof.me — hosted by ajschofield — powered by cgit