You can also just put an underscore in front of _test_get to avoid the pylint error.  I get nervous when asserts contain code with important side-effects, but much of that comes from working in an environment where one can set a flag and have all asserts removed from code.