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