diff --git a/tests/test_publish.py b/tests/test_publish.py
index 159f2be0c0ab8f57d7e1055d24035f3c663d1a6c..4956734f9da54fbc30de99c55e4c47420b068116 100644
--- a/tests/test_publish.py
+++ b/tests/test_publish.py
@@ -46,7 +46,7 @@ class TestPublish(unittest.TestCase):
                      'copied.')
     def test_publish(self):
         """ Test publish and check if an exported picture file exists. """
-        publish(SRC_DIR, DST_PATH, FIG, PIC_NAME, 'individual')
+        publish(SRC_DIR, DST_PATH + '/', FIG, PIC_NAME, 'individual')
         assert os.path.isfile(os.path.join(DST_PATH, PIC_NAME + '.png'))
 
     # Skip test if tests are run from command line.