fix typo
This commit is contained in:
parent
9ef57c0f82
commit
09da0aa1e4
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class TestDistRepo(unittest.TestCase):
|
|||
ret = exports.distRepo('tag', 'keys')
|
||||
|
||||
session.hasPerm.has_calls(mock.call('dist_repo'), mock.call('admin'))
|
||||
assert_policy.assert_called_once_with('dist-repo', {'tag': 'tag', 'keys': 'keys'})
|
||||
assert_policy.assert_called_once_with('dist_repo', {'tag': 'tag', 'keys': 'keys'})
|
||||
dist_repo_init.assert_called_once()
|
||||
make_task.assert_called_once()
|
||||
self.assertEquals(ret, make_task.return_value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue