def test_has_true(self): # given mock_content = {'name': 'Dockerfile'} dependabot_repo = Dependabot(ANY, Mock()) # when then assert dependabot_repo.has('Dockerfile', [mock_content])
def test_has_true_string(self): # given mock_content = 'Dockerfile' dependabot_repo = Dependabot(ANY, Mock()) # when then assert dependabot_repo.has('Dockerfile', [mock_content])
def test_has_false(self): # given dependabot_repo = Dependabot(ANY, Mock()) # when then self.assertFalse(dependabot_repo.has(None, []))