summaryrefslogtreecommitdiff
path: root/tests/integration/test_literal.py
blob: fe555e321eedb126ddc6892005f992c18c43faf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Tests that need installation of other packages."""
# TODO: find a way to install example-isort-formatting-plugin to pass tests
# import isort.literal

# from isort.settings import Config


# def test_value_assignment_list():
#     assert isort.literal.assignment("x = ['b', 'a']", "list", "py") == "x = ['a', 'b']"
#     assert (
#         isort.literal.assignment("x = ['b', 'a']", "list", "py", Config(formatter="example"))
#         == 'x = ["a", "b"]'
#     )