include rj45 with delta systems monitors ; tests
This commit is contained in:
@@ -10,6 +10,7 @@ from helix.models.coordinate import Coordinate
|
||||
from helix.models.panel import PanelData, Panel
|
||||
from helix.models.sql.inverter_brands import InverterBrand
|
||||
|
||||
|
||||
class UserValues(object):
|
||||
def __init__(self, store, site):
|
||||
self.store = store
|
||||
|
||||
@@ -491,8 +491,6 @@ class CalculatorTest(unittest.TestCase):
|
||||
|
||||
assert_array_equal(sorted(self.subject.documentation_bom()), sorted(expected))
|
||||
|
||||
# Performance Tests
|
||||
|
||||
def test_performance_with_1000ish_module_site(self):
|
||||
store = Store(mockredis.mock_redis_client(), "foo")
|
||||
|
||||
|
||||
@@ -1111,13 +1111,24 @@ class EbomCalculatorTest(unittest.TestCase):
|
||||
self.user_values.system_type.return_value = SystemType.singleTilt
|
||||
self.user_values.module_type.return_value = ModuleType.Cell96
|
||||
|
||||
|
||||
expected_output = {
|
||||
monitor_power_plug: 1,
|
||||
stump: 0,
|
||||
cable_support: 0,
|
||||
cable_support_lid: 0,
|
||||
rear_skirt: 0,
|
||||
monitor_controller_480_v: 1,
|
||||
monitor_controller_480_v:1,
|
||||
flat_washer: 4,
|
||||
channel_nut: 4,
|
||||
hex_nut_three_eighths_16: 2,
|
||||
front_legs: 1,
|
||||
back_legs: 1,
|
||||
inverter_link: 2,
|
||||
inverter_rail: 1,
|
||||
rubber_foot: 3,
|
||||
hex_bolt_1_2: 9,
|
||||
mounting_back_plate: 1,
|
||||
ethernet_plug: 2,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user