We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599cdcc commit c6fd257Copy full SHA for c6fd257
1 file changed
tests/openwisp/test_backend.py
@@ -211,9 +211,9 @@ def test_tc_script(self):
211
self.assertIn('tc class add dev tap0 parent 1 classid 1:1 htb rate 1024kbit burst 191k', contents)
212
self.assertIn('tc class add dev tap0 parent 1:1 classid 1:2 htb rate 512kbit ceil 1024kbit', contents)
213
self.assertIn('tc qdisc add dev tap0 ingress', contents)
214
- l = 'tc filter add dev tap0 parent ffff: preference 0 u32 match u32 0x0 0x0 police '\
215
- 'rate 2048kbit burst 383k drop flowid :1'
216
- self.assertIn(l, contents)
+ line = 'tc filter add dev tap0 parent ffff: preference 0 u32 match u32 0x0 0x0 police '\
+ 'rate 2048kbit burst 383k drop flowid :1'
+ self.assertIn(line, contents)
217
tar.close()
218
219
def test_cron(self):
0 commit comments