From 17e46209532d77697ce080ef3915d2dc79cb5f70 Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Wed, 14 Aug 2019 16:30:29 +0200
Subject: [PATCH] permId of an not-yet-saved object is "", not None

---
 pybis/src/python/tests/test_tag.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pybis/src/python/tests/test_tag.py b/pybis/src/python/tests/test_tag.py
index 9308f3b0560..71f64706cd4 100644
--- a/pybis/src/python/tests/test_tag.py
+++ b/pybis/src/python/tests/test_tag.py
@@ -17,7 +17,7 @@ def test_crud_tag(openbis_instance):
 
     assert tag.code == tag_name
     assert tag.description == description
-    assert tag.permId is None
+    assert tag.permId == ''
 
     tag.save()
 
-- 
GitLab