tests/integration/test_literal.py
raw| 1 | """Tests that need installation of other packages.""" |
| 2 | |
| 3 | # TODO: find a way to install example-isort-formatting-plugin to pass tests |
| 4 | # import isort.literal |
| 5 | |
| 6 | # from isort.settings import Config |
| 7 | |
| 8 | |
| 9 | # def test_value_assignment_list(): |
| 10 | # assert isort.literal.assignment("x = ['b', 'a']", "list", "py") == "x = ['a', 'b']" |
| 11 | # assert ( |
| 12 | # isort.literal.assignment("x = ['b', 'a']", "list", "py", Config(formatter="example")) |
| 13 | # == 'x = ["a", "b"]' |
| 14 | # ) |