These four for statements would be cleaner like this:
```python
    for addr in ['1.1.0.2', '1.0.1.0']:
        self.assertNotIn(addr, whitelist)
```