diff --git a/src/python/pybis/tests/test_openbis.py b/src/python/pybis/tests/test_openbis.py
index 98f5b9281aa8a970d675f5cf3645712ff2c5a802..5a3ae29f18a68664ce0e0e4b0b0ca6074fb9e061 100644
--- a/src/python/pybis/tests/test_openbis.py
+++ b/src/python/pybis/tests/test_openbis.py
@@ -105,7 +105,6 @@ def test_dataset_upload(openbis_instance):
         f.write('test-data')
 
     ds = openbis_instance.new_dataset(
-        opk
         name        = "My Dataset",
         description = "description",
         type        = "UNKNOWN",