You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2022/04/14 16:14:20 UTC

[allura] branch dw/8426 updated (8e09095a1 -> abe7dc109)

This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a change to branch dw/8426
in repository https://gitbox.apache.org/repos/asf/allura.git


    from 8e09095a1 fixup! SF-6801 Upgrade Pygments 2.8.1 -> 2.11.2
     new 6215f50f2 fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six
     new abe7dc109 fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ForgeImporters/forgeimporters/github/tests/test_code.py | 4 +++-
 ForgeSVN/forgesvn/tests/model/test_repository.py        | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)


[allura] 02/02: fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8426
in repository https://gitbox.apache.org/repos/asf/allura.git

commit abe7dc109fbff20830695b13d537b35b4bdee00a
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Thu Apr 14 16:14:13 2022 +0000

    fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six
---
 ForgeImporters/forgeimporters/github/tests/test_code.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ForgeImporters/forgeimporters/github/tests/test_code.py b/ForgeImporters/forgeimporters/github/tests/test_code.py
index 0530cd6c0..d86d16031 100644
--- a/ForgeImporters/forgeimporters/github/tests/test_code.py
+++ b/ForgeImporters/forgeimporters/github/tests/test_code.py
@@ -35,6 +35,9 @@ with_git = with_tool(test_project_with_repo, 'git', 'src', 'git')
 
 class TestGitHubRepoImporter(TestCase):
 
+    def setUp(self):
+        setup_unit_test()
+
     def _make_project(self, gh_proj_name=None):
         project = Mock()
         project.get_tool_data.side_effect = lambda *args: gh_proj_name
@@ -44,7 +47,6 @@ class TestGitHubRepoImporter(TestCase):
     @patch('forgeimporters.github.code.g')
     @patch('forgeimporters.github.code.GitHubProjectExtractor')
     def test_import_tool_happy_path(self, ghpe, g, M):
-        setup_unit_test()
         ghpe.return_value.get_repo_url.return_value = 'http://remote/clone/url/'
         p = self._make_project(gh_proj_name='myproject')
         u = Mock(name='c.user')


[allura] 01/02: fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six

Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8426
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 6215f50f285a94905ee5437c3157576e7b497461
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Thu Apr 14 15:58:21 2022 +0000

    fixup! SF-6801 Upgrade mock 3.0.5 -> 4.0.3, and its deps: six
---
 ForgeSVN/forgesvn/tests/model/test_repository.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeSVN/forgesvn/tests/model/test_repository.py b/ForgeSVN/forgesvn/tests/model/test_repository.py
index 607335462..8451b4341 100644
--- a/ForgeSVN/forgesvn/tests/model/test_repository.py
+++ b/ForgeSVN/forgesvn/tests/model/test_repository.py
@@ -703,7 +703,7 @@ class _TestWithRepo(_Test):
         c.project.install_app('svn', 'test1')
         h.set_context('test', 'test1', neighborhood='Projects')
         self.repo = M.Repository(name='test1', tool='svn')
-        self.repo._impl = mock.Mock(spec=M.RepositoryImplementation())
+        self.repo._impl = mock.Mock()
         self.repo._impl.shorthand_for_commit = M.RepositoryImplementation.shorthand_for_commit
         self.repo._impl.url_for_commit = (
             lambda *a, **kw: M.RepositoryImplementation.url_for_commit(