Allow not to limit bandwidth in LAN (fixes #1336)

This commit is contained in:
Audrius Butkevicius
2015-03-08 18:36:59 +00:00
parent 03bbf273b3
commit 6fa97eeec7
7 changed files with 161 additions and 5 deletions

View File

@@ -55,6 +55,7 @@ func TestDefaultValues(t *testing.T) {
CacheIgnoredFiles: true,
ProgressUpdateIntervalS: 5,
SymlinksEnabled: true,
LimitBandwidthInLan: false,
}
cfg := New(device1)
@@ -158,6 +159,7 @@ func TestOverriddenValues(t *testing.T) {
CacheIgnoredFiles: false,
ProgressUpdateIntervalS: 10,
SymlinksEnabled: false,
LimitBandwidthInLan: true,
}
cfg, err := Load("testdata/overridenvalues.xml", device1)