diff options
author | Rishi Ramraj <thereisnocowlevel@gmail.com> | 2018-05-15 12:24:45 -0400 |
---|---|---|
committer | Rishi Ramraj <thereisnocowlevel@gmail.com> | 2018-05-15 12:24:45 -0400 |
commit | 024effd17ed96835a61474f0740e71dacec4f2af (patch) | |
tree | 4300d441721f3010286adf3a81d78f43d79e1e3e /tests | |
parent | 708a1e02b74dbe655eb50a2beef818adcc38a8fc (diff) |
Style fixes for test docstrings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pgexecute.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/test_pgexecute.py b/tests/test_pgexecute.py index 66829c20..56067906 100644 --- a/tests/test_pgexecute.py +++ b/tests/test_pgexecute.py @@ -181,9 +181,7 @@ def test_unicode_support_in_output(executor, expanded): @dbtest def test_not_is_special(executor, pgspecial): - ''' - is_special is set to false for database queries. - ''' + """is_special is set to false for database queries.""" query = 'select 1' result = list(executor.run(query, pgspecial=pgspecial)) success, is_special = result[0][5:] @@ -193,9 +191,7 @@ def test_not_is_special(executor, pgspecial): @dbtest def test_execute_from_file_no_arg(executor, pgspecial): - ''' - \i without a filename returns an error. - ''' + """\i without a filename returns an error.""" result = list(executor.run("\i", pgspecial=pgspecial)) status, sql, success, is_special = result[0][3:] assert 'missing required argument' in status @@ -206,9 +202,7 @@ def test_execute_from_file_no_arg(executor, pgspecial): @dbtest @patch('pgcli.main.os') def test_execute_from_file_io_error(os, executor, pgspecial): - ''' - \i with an io_error returns an error. - ''' + """\i with an io_error returns an error.""" # Inject an IOError. os.path.expanduser.side_effect = IOError('test') |