Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Returning clause ends where clause | Darik Gamble | 2016-06-25 | 1 | -0/+8 | |
| | ||||||
* | Format cli.py and add cli-tests | Victor Uriarte | 2016-06-20 | 1 | -0/+37 | |
| | ||||||
* | Split test/asserts that are weakly related | Victor Uriarte | 2016-06-20 | 1 | -8/+22 | |
| | ||||||
* | Parametrize tests | Victor Uriarte | 2016-06-20 | 5 | -153/+70 | |
| | | | | | | Allows for tests to continue if the first assert had failed. In particular useful when certain change is dealing with two almost opposing edge cases. | |||||
* | Remove some test classes and clean-up | Victor Uriarte | 2016-06-20 | 6 | -1024/+1102 | |
| | ||||||
* | Replace tests/utils with conftest.py | Victor Uriarte | 2016-06-20 | 5 | -35/+55 | |
| | | | | http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py | |||||
* | Replace other UnitTest with Py.Test | Victor Uriarte | 2016-06-20 | 8 | -462/+441 | |
| | ||||||
* | Replace ndiffAssertEqual with Py.Test | Victor Uriarte | 2016-06-20 | 6 | -314/+277 | |
| | ||||||
* | Merge pull request #265 from darikg/dont-ignore-skip_cm | Victor Uriarte | 2016-06-20 | 1 | -0/+6 | |
|\ | ||||||
| * | token_next shouldn't ignore skip_cm | Darik Gamble | 2016-06-20 | 1 | -0/+6 | |
|/ | ||||||
* | Previous fix for period failed when another token (non-groupable) followed. | Victor Uriarte | 2016-06-19 | 1 | -0/+9 | |
| | ||||||
* | Revert behavior of dangling period(hanging schema qualifier) | Victor Uriarte | 2016-06-18 | 1 | -3/+3 | |
| | | | | | | Related to #261. Reverting to previous behavior until a way to handle behavior/grouping of invalid sql is agreed upon. | |||||
* | Merge pull request #260 from vmuriart/long_live_indexes | Vik | 2016-06-16 | 3 | -21/+13 | |
|\ | | | | | Long live indexes - Improve performance | |||||
| * | Rename token_idx_ funcs to simply token_ funcs | Victor Uriarte | 2016-06-15 | 1 | -2/+2 | |
| | | ||||||
| * | Change token_ funcs to token_idx funcs | Victor Uriarte | 2016-06-15 | 1 | -3/+3 | |
| | | ||||||
| * | Change argument order to match order of all other functions | Victor Uriarte | 2016-06-14 | 1 | -7/+5 | |
| | | ||||||
| * | Reapply fix for case within paranthesis | Victor Uriarte | 2016-06-14 | 1 | -8/+0 | |
| | | ||||||
| * | Merge remote-tracking branch 'core/long_live_indexes' into develop | Victor Uriarte | 2016-06-14 | 2 | -4/+6 | |
| |\ | ||||||
* | | | Add test_cli.py | Victor Uriarte | 2016-06-15 | 1 | -0/+42 | |
|/ / | | | | | | | | | | | | | References: http://stackoverflow.com/questions/18160078/how-do-you-write-tests-for-the-argparse-portion-of-a-python-module http://dustinrcollins.com/testing-python-command-line-apps https://github.com/mdklatt/cookiecutter-python-app | |||||
* | | Fix token-parent behavior | Victor Uriarte | 2016-06-12 | 1 | -0/+8 | |
| | | | | | | | | Closes issue #226 | |||||
* | | Refactor raw conversion on split_unquoted_newlines | Victor Uriarte | 2016-06-12 | 1 | -3/+3 | |
| | | ||||||
* | | Remove token_first; its redundant to token_next(idx=0) | Victor Uriarte | 2016-06-12 | 2 | -4/+4 | |
| | | ||||||
* | | Restyle pprint_tree and align upto idx=99 | Victor Uriarte | 2016-06-12 | 1 | -13/+58 | |
| | | ||||||
* | | Add sql.Operation tokenlist | Victor Uriarte | 2016-06-12 | 1 | -8/+9 | |
| | | ||||||
* | | Fix grouping of `case` within parenthesis. | Victor Uriarte | 2016-06-11 | 1 | -0/+7 | |
| | | | | | | | | Closes #164 | |||||
* | | Test for wildcards vs multiplication tokens | Victor Uriarte | 2016-06-11 | 1 | -0/+11 | |
| | | ||||||
* | | Add test for issue #207 - run-away indent on alias | Victor Uriarte | 2016-06-11 | 1 | -0/+11 | |
| | | ||||||
* | | Redo unicode-encoding on lexer.py | Victor Uriarte | 2016-06-11 | 1 | -0/+5 | |
| | | ||||||
* | | Add multi-statement output tests | Victor Uriarte | 2016-06-11 | 1 | -0/+16 | |
| | | ||||||
* | | Add right marging and options tests | Victor Uriarte | 2016-06-11 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | Make pytest alert of any passing tests marked to fail Idea is to include tests for un-fixed bugs. If they are passing we want to know | |||||
* | | Improve test by splitting multiple asserts | Victor Uriarte | 2016-06-11 | 1 | -10/+10 | |
| | | ||||||
* | | Add pprint_test | Victor Uriarte | 2016-06-11 | 1 | -1/+20 | |
| | | ||||||
* | | Fix get_token_at_offset behavior at edge | Victor Uriarte | 2016-06-11 | 1 | -0/+12 | |
| | | | | | | | | | | At position 6 (with an index starting at 0) it should have been on 2nd word for the example sql='select * from dual' | |||||
* | | Apply new-style str format | Victor Uriarte | 2016-06-11 | 3 | -12/+8 | |
| | | ||||||
* | | Format `pr` to pass flake8 and update functions used | Victor Uriarte | 2016-06-06 | 2 | -19/+27 | |
| | | ||||||
* | | Add filter `Spaces around Operators` | Adam Greenhall | 2016-06-06 | 2 | -0/+38 | |
| | | ||||||
* | | Test: Subquery Ident-lists grouping alias bug | Adam Greenhall | 2016-06-06 | 1 | -0/+10 | |
| | | | | | | | | Not being grouped correctly when aliased | |||||
* | | Fix Case statements Alignment | Adam Greenhall | 2016-06-06 | 1 | -0/+30 | |
| | | ||||||
* | | Fix/Test Joins | Adam Greenhall | 2016-06-06 | 1 | -0/+26 | |
| | | ||||||
* | | Fix/Test Limit statements | Adam Greenhall | 2016-06-06 | 1 | -0/+2 | |
| | | ||||||
* | | Test: Window functions | Adam Greenhall | 2016-06-06 | 1 | -0/+16 | |
| | | ||||||
* | | Fix/Test `Group-By` | Adam Greenhall | 2016-06-06 | 1 | -0/+54 | |
| | | ||||||
* | | Test: Case statements | aneeshk | 2016-06-06 | 1 | -0/+28 | |
| | | ||||||
* | | Start work on Aligned-reindent | Adam Greenhall | 2016-06-06 | 1 | -0/+32 | |
| | | ||||||
* | | Allow tokenlists to skip over comments | Victor Uriarte | 2016-06-04 | 1 | -1/+1 | |
| | | | | | | | | Rename ignore_cm to skip_cm for consistency | |||||
* | | Remove undocumented features | Victor Uriarte | 2016-06-04 | 3 | -308/+0 | |
| | | | | | | | | | | | | These features/function/classes were added for AntiORM. Quick look-up didn't show any usage outside of AntiORM. Closes #246 | |||||
* | | Refactor tests\utils.py | Victor Uriarte | 2016-06-04 | 1 | -16/+11 | |
| | | | | | | | | | | `io.open(...)` is preferred method over `codecs.open(...)` removed unused or single use variables | |||||
* | | Update test to current lexer functions | Victor Uriarte | 2016-06-04 | 1 | -9/+4 | |
| | | ||||||
* | | Fix test that wasn't evaluating | Victor Uriarte | 2016-06-04 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | AssertTrue wasn't comparing the value, just checking if value was not False Fix and changed AssertTrue to Assert_ to match style used else throught tests | |||||
* | | Merge pull request #248 from fimmtiu/add-wrap-after-option | Andi Albrecht | 2016-06-03 | 1 | -0/+12 | |
|\ \ | | | | | | | Add --wrap_after option for wrapping identifier lists. |