Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sql.Identifier can wrap a sequence of strings to represent qualified namesidentifier-sequence | Daniele Varrazzo | 2018-10-04 | 1 | -6/+22 |
| | | | | Close #732. | ||||
* | In tests, use compat.py where there is overlap | Jon Dufresne | 2017-12-11 | 1 | -2/+3 |
| | |||||
* | Avoid installing tests to site-packages | Jon Dufresne | 2017-12-10 | 1 | -2/+2 |
| | | | | | | | | For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package. | ||||
* | Use relative imports throughout tests | Jon Dufresne | 2017-12-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The tests relied on Python2 relative import semantics. Python3 changed import semantics to always search sys.path by default. To import using a relative path it must have a leading dot. Forward compatible with newer Pythons. Works towards the goal of moving tests outside of the installed package. For more information, see PEP-328: https://www.python.org/dev/peps/pep-0328/ | ||||
* | Merge remote-tracking branch 'jdufresne/import-unittest' | Daniele Varrazzo | 2017-12-02 | 1 | -1/+2 |
|\ | |||||
| * | Always import the system unittest | Jon Dufresne | 2017-12-01 | 1 | -1/+2 |
| | | | | | | | | | | | | | | There is no need to import testutils.unittest instead of simply unittest. They are simple aliases. Use system unittest to be more regular, consistent as well as idiomatic with the wider Python community. | ||||
* | | Use builtin function next() throughout project | Jon Dufresne | 2017-12-01 | 1 | -3/+3 |
|/ | | | | | | | Available since Python 2.6. Use of .next() is deprecated and not supported in Python 3. Forward compatible with modern Python. https://docs.python.org/2/library/functions.html#next | ||||
* | Drop support for EOL Python 2.6 | Hugo | 2017-11-28 | 1 | -2/+0 |
| | |||||
* | Added test to verify sql objects work with copy_expert() | Daniele Varrazzo | 2017-03-16 | 1 | -1/+25 |
| | | | | | | I'll be honest: I lucked out, I didn't think about this combination. But maybe sheer luck, maybe using common code paths, it just works. Let's make it stays so. | ||||
* | Deal consistently with E'' quotes in tests | Daniele Varrazzo | 2017-02-06 | 1 | -7/+5 |
| | |||||
* | Autonumbered args not available in Python 2.6 | Daniele Varrazzo | 2017-01-03 | 1 | -12/+17 |
| | |||||
* | Several improvements to the sql objects | Daniele Varrazzo | 2017-01-03 | 1 | -15/+74 |
| | | | | Comparable, iterable, content accessible | ||||
* | Use {} instead of %s placeholders in SQL composition | Daniele Varrazzo | 2017-01-03 | 1 | -26/+55 |
| | |||||
* | Dropped sql.compose | Daniele Varrazzo | 2017-01-01 | 1 | -21/+20 |
| | | | | Use a SQL % operator instead. | ||||
* | Adding sql module documentation | Daniele Varrazzo | 2017-01-01 | 1 | -0/+5 |
| | |||||
* | Added test for sql percents treatment | Daniele Varrazzo | 2017-01-01 | 1 | -0/+9 |
| | |||||
* | Typo: composible -> composable | Daniele Varrazzo | 2017-01-01 | 1 | -5/+5 |
| | |||||
* | Fixed sql.compose with no args and added tests | Daniele Varrazzo | 2017-01-01 | 1 | -0/+15 |
| | |||||
* | Fixed sql.Composed representation | Daniele Varrazzo | 2017-01-01 | 1 | -0/+6 |
| | |||||
* | Fixed sql stuff in Py3 | Daniele Varrazzo | 2017-01-01 | 1 | -2/+0 |
| | |||||
* | Added basic sql module implementation | Daniele Varrazzo | 2017-01-01 | 1 | -1/+222 |
| | |||||
* | Adding some boilerplate for the new module | Daniele Varrazzo | 2017-01-01 | 1 | -0/+32 |