summaryrefslogtreecommitdiff
path: root/tests/integration/test_literal.py
diff options
context:
space:
mode:
authorstaticdev <staticdev-support@protonmail.com>2022-12-12 12:57:41 +0100
committerstaticdev <staticdev-support@protonmail.com>2022-12-12 12:57:41 +0100
commit6090183e502c87fd6adb67d814207ca51ae8ef1a (patch)
treeba9f7b7370504cc780a0ae8fa8adb8311cf83f6a /tests/integration/test_literal.py
parent3363240d53624c6d0f69f2703bc94fe77bcbd480 (diff)
downloadisort-6090183e502c87fd6adb67d814207ca51ae8ef1a.tar.gz
Move integration tests to its folder
Diffstat (limited to 'tests/integration/test_literal.py')
-rw-r--r--tests/integration/test_literal.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/integration/test_literal.py b/tests/integration/test_literal.py
new file mode 100644
index 00000000..fe555e32
--- /dev/null
+++ b/tests/integration/test_literal.py
@@ -0,0 +1,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"]'
+# )