From 8ffa98557f4582dab90e459343ad48a8355f210e Mon Sep 17 00:00:00 2001 From: GotPPay Date: Mon, 4 Dec 2017 22:40:12 +0100 Subject: [PATCH] restore to previous functionality --- helix/calculators/ebom_calculator.py | 2 -- test/calculators/ebom_calculator_test.py | 1 - 2 files changed, 3 deletions(-) diff --git a/helix/calculators/ebom_calculator.py b/helix/calculators/ebom_calculator.py index e9113af..f79bf97 100644 --- a/helix/calculators/ebom_calculator.py +++ b/helix/calculators/ebom_calculator.py @@ -91,8 +91,6 @@ class EbomCalculator(object): for monitor in monitors: if monitor['power_source'][0] == 'Switch Gear/External': add_parts_to_list(part_list, {proper_monitor_controller: 1}, 1) - if (is_delta): - add_parts_to_list(part_list, {ethernet_plug: 2},1) add_parts_to_list(part_list, {wire_clip_large: inverter_count}, self.row_count) diff --git a/test/calculators/ebom_calculator_test.py b/test/calculators/ebom_calculator_test.py index 80c0078..f394799 100644 --- a/test/calculators/ebom_calculator_test.py +++ b/test/calculators/ebom_calculator_test.py @@ -1119,7 +1119,6 @@ class EbomCalculatorTest(unittest.TestCase): cable_support_lid: 0, rear_skirt: 0, monitor_controller_480_v: 1, - ethernet_plug: 2, } assert_dictionary_equal(self.subject.compute_ebom(), expected_output)