(self)
| 687 | return dialect |
| 688 | |
| 689 | def test_ora8_flags(self): |
| 690 | dialect = self._dialect((8, 2, 5)) |
| 691 | |
| 692 | # before connect, assume modern DB |
| 693 | assert dialect._supports_char_length |
| 694 | assert dialect.use_ansi |
| 695 | assert not dialect._use_nchar_for_unicode |
| 696 | |
| 697 | dialect.initialize(Mock()) |
| 698 | |
| 699 | # oracle 8 / 8i support returning |
| 700 | assert dialect.insert_returning |
| 701 | |
| 702 | assert not dialect._supports_char_length |
| 703 | assert not dialect.use_ansi |
| 704 | self.assert_compile(String(50), "VARCHAR2(50)", dialect=dialect) |
| 705 | self.assert_compile(Unicode(50), "VARCHAR2(50)", dialect=dialect) |
| 706 | self.assert_compile(UnicodeText(), "CLOB", dialect=dialect) |
| 707 | |
| 708 | def test_default_flags(self): |
| 709 | """test with no initialization or server version info""" |
nothing calls this directly
no test coverage detected