Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod-tests
Commits
9c189e0c99fb
Commit
1012a1c1
authored
Feb 18, 2020
by
Georges Racinet
🦑
Browse files
Name of bookmarks preventing a push should be in user feedback
parent
60062c913ddc
Pipeline
#3141
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_bookmarks.py
View file @
9c189e0c
...
...
@@ -22,6 +22,7 @@ def test_push_bookmarks_default_branch(test_project, tmpdir):
code
,
out
,
err
=
repo
.
hg_unchecked
(
'push'
,
'-B'
,
'book1'
,
url
)
assert
code
!=
0
,
"Bookmarks should be forbidden by default"
assert
'forbidden'
in
out
.
lower
()
assert
'book1'
in
out
# now let's allow bookmarks on non-topic changesets
# for the time being, bookmarks are still considered to create
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment