Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_get_rocker_version(self):
v = get_rocker_version()
parts = v.split('.')
self.assertEqual(len(parts), 3)
for p in parts:
# Check that it can be cast to an int
i = int(p)