Moved the polling of data from the webgui to its own dedicated poller.
This should simplify testing of webgui.
This commit is contained in:
@@ -62,13 +62,13 @@ func TestWebGui(t *testing.T) {
|
||||
}
|
||||
|
||||
type templateTest struct {
|
||||
input *statusError
|
||||
input *statusProcessed
|
||||
output *TemplateInput
|
||||
}
|
||||
|
||||
var templateInputTests = []templateTest{
|
||||
{
|
||||
input: &statusError{
|
||||
input: &statusProcessed{
|
||||
status: datasource.MultiplusStatus{
|
||||
OutCurrent: 2.0,
|
||||
InCurrent: 2.3,
|
||||
|
||||
Reference in New Issue
Block a user