diff --git a/tests/reference/5_1_6/KiCost/simple.csv b/tests/reference/5_1_6/KiCost/simple.csv index 75ee43fc..558f826b 100644 --- a/tests/reference/5_1_6/KiCost/simple.csv +++ b/tests/reference/5_1_6/KiCost/simple.csv @@ -1,5 +1,6 @@ Prj:,KiBom Test Schematic,,,,Board Qty:,100 Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0 +Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0 Global Part Info,,,,,, Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$ C1,1nF,,,100,,0 diff --git a/tests/reference/5_1_6/KiCost/simple_default.csv b/tests/reference/5_1_6/KiCost/simple_default.csv index 6cb4f44f..883b9805 100644 --- a/tests/reference/5_1_6/KiCost/simple_default.csv +++ b/tests/reference/5_1_6/KiCost/simple_default.csv @@ -1,5 +1,6 @@ Prj:,KiBom Test Schematic,,,,Board Qty:,100 Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0 +Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0 Global Part Info,,,,,, Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$ R1,1k,,,100,,0 diff --git a/tests/reference/5_1_6/KiCost/simple_production.csv b/tests/reference/5_1_6/KiCost/simple_production.csv index f8d17fe4..9c3da1eb 100644 --- a/tests/reference/5_1_6/KiCost/simple_production.csv +++ b/tests/reference/5_1_6/KiCost/simple_production.csv @@ -1,5 +1,6 @@ Prj:,KiBom Test Schematic,,,,Board Qty:,100 Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0 +Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0 Global Part Info,,,,,, Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$ C2,1000 pF,,,100,,0 diff --git a/tests/reference/5_1_6/KiCost/simple_test.csv b/tests/reference/5_1_6/KiCost/simple_test.csv index d0b6c5d6..8af2e2da 100644 --- a/tests/reference/5_1_6/KiCost/simple_test.csv +++ b/tests/reference/5_1_6/KiCost/simple_test.csv @@ -1,5 +1,6 @@ Prj:,KiBom Test Schematic,,,,Board Qty:,100 Co.:,https://github.com/SchrodingersGat/KiBom,,,,Unit Cost:,0 +Prj date:,mar 30 mar 2021 09:46:24,,,,Total Cost:,0 Global Part Info,,,,,, Refs,Value,Footprint,Manf#,Qty,Unit$,Ext$ C1,1nF,,,100,,0 diff --git a/tests/test_plot/test_kicost.py b/tests/test_plot/test_kicost.py index e9a4edaa..81722906 100644 --- a/tests/test_plot/test_kicost.py +++ b/tests/test_plot/test_kicost.py @@ -31,7 +31,7 @@ def convert2csv(xlsx, skip_empty=False, sheet=None): cmd.append(xlsx) p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) with open(csv, 'w') as f: - p2 = subprocess.Popen(['egrep', '-i', '-v', r'(created|kicost|Total purchase)'], stdin=p1.stdout, stdout=f) + p2 = subprocess.Popen(['egrep', '-i', '-v', r'(\$ date|created|kicost|Total purchase)'], stdin=p1.stdout, stdout=f) p2.communicate()[0]