Example #1
0
 def test_null_server_version(self):
     result = function_name_map(None)
     assert result['pg_switch_wal'] == 'pg_switch_wal'
Example #2
0
 def test_postgresql_9(self):
     result = function_name_map(90100)
     assert result['pg_switch_wal'] == 'pg_switch_xlog'
 def test_postgresql_10(self):
     result = function_name_map(100100)
     assert result["pg_switch_wal"] == "pg_switch_wal"