(self)
| 139 | self.assertEqual('p0', response.name) |
| 140 | |
| 141 | def test_run_module_command(self): |
| 142 | client = bess.BESS() |
| 143 | client.connect(grpc_url=self.GRPC_URL) |
| 144 | |
| 145 | response = client.run_module_command('m1', |
| 146 | 'add', |
| 147 | 'ExactMatchCommandAddArg', |
| 148 | {'gate': 0, |
| 149 | 'fields': [{'value_bin': b'\x11'}, {'value_bin': b'\x22'}]}) |
| 150 | self.assertEqual(0, response.error.code) |
nothing calls this directly
no test coverage detected