From 4c32c45534313f4cd81fb47e9375793b91e19ae5 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Sun, 4 Jul 2021 05:33:23 +0530 Subject: [PATCH] Reorder tests --- tests/test_plotting.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test_plotting.py b/tests/test_plotting.py index cec9df6..6283e9e 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -19,10 +19,10 @@ def test_text_plot(): @pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True) -def test_grid_plot(): - filename = os.path.join(testdir, "foo.pdf") - tables = camelot.read_pdf(filename) - return camelot.plot(tables[0], kind="grid") +def test_textedge_plot(): + filename = os.path.join(testdir, "tabula/12s0324.pdf") + tables = camelot.read_pdf(filename, flavor="stream") + return camelot.plot(tables[0], kind="textedge") @pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True) @@ -54,7 +54,7 @@ def test_joint_plot(): @pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True) -def test_textedge_plot(): - filename = os.path.join(testdir, "tabula/12s0324.pdf") - tables = camelot.read_pdf(filename, flavor="stream") - return camelot.plot(tables[0], kind="textedge") +def test_grid_plot(): + filename = os.path.join(testdir, "foo.pdf") + tables = camelot.read_pdf(filename) + return camelot.plot(tables[0], kind="grid")