File: test_expression.py

package info (click to toggle)
python-sql 1.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 440 kB
  • sloc: python: 5,016; sh: 9; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This file is part of python-sql.  The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

import unittest

from sql import Expression


class TestExpression(unittest.TestCase):

    def test_str(self):
        with self.assertRaises(NotImplementedError):
            str(Expression())

    def test_params(self):
        with self.assertRaises(NotImplementedError):
            Expression().params