summaryrefslogtreecommitdiff
path: root/test/sql/test_selectable.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_selectable.py')
-rw-r--r--test/sql/test_selectable.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py
index b76873490..2157b5c71 100644
--- a/test/sql/test_selectable.py
+++ b/test/sql/test_selectable.py
@@ -1469,6 +1469,14 @@ class SelectableTest(
assert s3._whereclause.left.table is not s1
assert s3._whereclause.left.table in froms
+ def test_table_schema(self):
+ t = table("foo")
+ eq_(t.name, "foo")
+ eq_(t.fullname, "foo")
+ t = table("foo", schema="bar")
+ eq_(t.name, "foo")
+ eq_(t.fullname, "bar.foo")
+
class RefreshForNewColTest(fixtures.TestBase):
def test_join_uninit(self):