Exemplo n.º 1
0
    def test_matching_distributor(self, mock_get_distributor):
        mock_get_distributor.return_value = None

        RepoPublishScheduleManager.validate_distributor(
            'repo1', 'distributor1')

        mock_get_distributor.assert_called_once_with('repo1', 'distributor1')
Exemplo n.º 2
0
    def test_matching_distributor(self, mock_get_distributor):
        mock_get_distributor.return_value = None

        RepoPublishScheduleManager.validate_distributor("repo1", "distributor1")

        mock_get_distributor.assert_called_once_with("repo1", "distributor1")