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_version_and_options_getters(self):
with open("VERSION", "r") as f:
VERSION = f.read().strip()
version = self.conn.version
assert "major" in version
assert "minor" in version
assert "patchLevel" in version
assert pyrfc.__version__ == VERSION
assert all(k in self.conn.options for k in ("dtime", "return_import_params", "rstrip"))