This commit is contained in:
GotPPay
2017-12-20 14:48:08 +01:00
parent 8beef5faea
commit fdeaa2a83e
2 changed files with 0 additions and 3 deletions

View File

@@ -88,8 +88,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)
if is_delta:
clips_amount = inverter_count * self.row_count * 1.15

View File

@@ -1118,7 +1118,6 @@ class EbomCalculatorTest(unittest.TestCase):
cable_support_lid: 0,
rear_skirt_1_1: 0,
monitor_controller_480_v: 1,
ethernet_plug: 2,
}
assert_dictionary_equal(self.subject.compute_ebom(), expected_output)