Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add version property to PostgresNode #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 26, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tests for python 2
  • Loading branch information
ildus committed Jun 25, 2018
commit 8b7d0d1abc4f3ff3fc92ff6be9cbaea202b91e90
3 changes: 2 additions & 1 deletion tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import tempfile
import testgres
import time
import six
import unittest

import logging.config
Expand Down Expand Up @@ -859,7 +860,7 @@ def test_version_management(self):

version = get_pg_version()
with get_new_node() as node:
self.assertTrue(isinstance(version, str))
self.assertTrue(isinstance(version, six.string_types))
self.assertTrue(isinstance(node.version, PgVer))
self.assertTrue(node.version == version)

Expand Down