~ack/storm/postgres-case-expr

« back to all changes in this revision

Viewing changes to tests/databases/postgres.py

  • Committer: Alberto Donato
  • Date: 2015-06-05 07:27:54 UTC
  • Revision ID: alberto.donato@canonical.com-20150605072754-9pi3komg88elrw53
Fix docstring (Free's review).

Show diffs side-by-side

added added

removed removed

Lines of Context:
375
375
 
376
376
    def test_compile_case_with_expression(self):
377
377
        """
378
 
        If an expression, the resulting CASE expression uses the simple syntax.
 
378
        If an expression is provided, the resulting CASE expression uses the
 
379
        simple syntax.
379
380
        """
380
381
        cases = [(1, u"one"), (2, u"two")]
381
382
        state = State()