Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
ce0b1a8a
Commit
ce0b1a8a
authored
Feb 11, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing tests for git
parent
fe94c0cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
test/TestRunner.py
+1
-1
No files found.
test/TestRunner.py
View file @
ce0b1a8a
...
@@ -199,7 +199,7 @@ class TestRunner(unittest.TestCase):
...
@@ -199,7 +199,7 @@ class TestRunner(unittest.TestCase):
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/
%
s
\"
"
%
git_demo
,
"dest=/tmp/
%
s"
%
git_bare
,
"bare=yes"
,
"remote=test"
])
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/
%
s
\"
"
%
git_demo
,
"dest=/tmp/
%
s"
%
git_bare
,
"bare=yes"
,
"remote=test"
])
assert
result
[
'changed'
]
assert
result
[
'changed'
]
# test a no-op fetch, add origin for el6 versions of git
# test a no-op fetch, add origin for el6 versions of git
self
.
_run
(
'command'
,
[
'git
remote add origin file:///tmp/
%
s'
%
git_demo
,
'chdir=/tmp/
%
s'
%
git_dm
])
self
.
_run
(
'command'
,
[
'git
'
,
'remote'
,
'add'
,
'origin'
,
'file:///tmp/
%
s'
%
git_demo
,
'chdir=/tmp/
%
s'
%
git_bare
])
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/
%
s
\"
"
%
git_demo
,
"dest=/tmp/
%
s"
%
git_bare
,
"bare=yes"
])
result
=
self
.
_run
(
'git'
,
[
"repo=
\"
file:///tmp/
%
s
\"
"
%
git_demo
,
"dest=/tmp/
%
s"
%
git_bare
,
"bare=yes"
])
assert
not
result
[
'changed'
]
assert
not
result
[
'changed'
]
# test whether fetch is working for bare repos
# test whether fetch is working for bare repos
...
...
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