|
@@ -506,7 +506,7 @@ class TestContentApi(DefaultTest):
|
506
|
506
|
session=self.session,
|
507
|
507
|
config=self.app_config,
|
508
|
508
|
)
|
509
|
|
- c = api.create(ContentType.Folder, workspace, None, 'parent', True)
|
|
509
|
+ c = api.create(ContentType.Folder, workspace, None, 'parent', '', True)
|
510
|
510
|
with new_revision(
|
511
|
511
|
session=self.session,
|
512
|
512
|
tm=transaction.manager,
|
|
@@ -546,7 +546,7 @@ class TestContentApi(DefaultTest):
|
546
|
546
|
session=self.session,
|
547
|
547
|
config=self.app_config,
|
548
|
548
|
)
|
549
|
|
- c = api.create(ContentType.Folder, workspace, None, 'parent', True)
|
|
549
|
+ c = api.create(ContentType.Folder, workspace, None, 'parent', '', True)
|
550
|
550
|
with new_revision(
|
551
|
551
|
session=self.session,
|
552
|
552
|
tm=transaction.manager,
|
|
@@ -656,6 +656,7 @@ class TestContentApi(DefaultTest):
|
656
|
656
|
workspace,
|
657
|
657
|
None,
|
658
|
658
|
'folder a',
|
|
659
|
+ '',
|
659
|
660
|
True
|
660
|
661
|
)
|
661
|
662
|
with self.session.no_autoflush:
|
|
@@ -692,6 +693,7 @@ class TestContentApi(DefaultTest):
|
692
|
693
|
workspace2,
|
693
|
694
|
None,
|
694
|
695
|
'folder b',
|
|
696
|
+ '',
|
695
|
697
|
True
|
696
|
698
|
)
|
697
|
699
|
|
|
@@ -775,6 +777,7 @@ class TestContentApi(DefaultTest):
|
775
|
777
|
workspace,
|
776
|
778
|
None,
|
777
|
779
|
'folder a',
|
|
780
|
+ '',
|
778
|
781
|
True
|
779
|
782
|
)
|
780
|
783
|
with self.session.no_autoflush:
|
|
@@ -811,6 +814,7 @@ class TestContentApi(DefaultTest):
|
811
|
814
|
workspace2,
|
812
|
815
|
None,
|
813
|
816
|
'folder b',
|
|
817
|
+ '',
|
814
|
818
|
True
|
815
|
819
|
)
|
816
|
820
|
api2.copy(
|
|
@@ -891,6 +895,7 @@ class TestContentApi(DefaultTest):
|
891
|
895
|
workspace,
|
892
|
896
|
None,
|
893
|
897
|
'folder a',
|
|
898
|
+ '',
|
894
|
899
|
True
|
895
|
900
|
)
|
896
|
901
|
with self.session.no_autoflush:
|
|
@@ -2008,9 +2013,9 @@ class TestContentApi(DefaultTest):
|
2008
|
2013
|
config=self.app_config,
|
2009
|
2014
|
)
|
2010
|
2015
|
a = api.create(ContentType.Folder, workspace, None,
|
2011
|
|
- 'this is randomized folder', True)
|
|
2016
|
+ 'this is randomized folder', '', True)
|
2012
|
2017
|
p = api.create(ContentType.Page, workspace, a,
|
2013
|
|
- 'this is randomized label content', True)
|
|
2018
|
+ 'this is randomized label content', '', True)
|
2014
|
2019
|
|
2015
|
2020
|
with new_revision(
|
2016
|
2021
|
session=self.session,
|
|
@@ -2064,9 +2069,9 @@ class TestContentApi(DefaultTest):
|
2064
|
2069
|
config=self.app_config,
|
2065
|
2070
|
)
|
2066
|
2071
|
a = api.create(ContentType.Folder, workspace, None,
|
2067
|
|
- 'this is randomized folder', True)
|
|
2072
|
+ 'this is randomized folder', '', True)
|
2068
|
2073
|
p = api.create(ContentType.Page, workspace, a,
|
2069
|
|
- 'this is dummy label content', True)
|
|
2074
|
+ 'this is dummy label content', '', True)
|
2070
|
2075
|
|
2071
|
2076
|
with new_revision(
|
2072
|
2077
|
tm=transaction.manager,
|