Skip to content

Commit

Permalink
Remove sync_from_downstream from Packit config (#290)
Browse files Browse the repository at this point in the history
Remove sync_from_downstream from Packit config

Reviewed-by: Maja Massarini
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jan 30, 2025
2 parents 41b9d29 + 3b8de59 commit 6bf3ffb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ srpm_build_deps:
- python3-hatch-vcs

jobs:
- job: sync_from_downstream
trigger: commit
- job: propose_downstream
trigger: release
dist_git_branches:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.tests
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT

FROM fedora:34
FROM fedora:latest

RUN dnf -y install \
make \
Expand Down
10 changes: 6 additions & 4 deletions tests/test_request_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def testRawCall(self):
"""
Test if is class is able to explicitly write and read request handling
"""
# example.com domain is not acceptig POST requests anymore
# example.com domain is not accepting POST requests anymore
# using stg.packit.dev instead
keys = [
"https://stg.packit.dev/api/webhooks/github",
Expand All @@ -41,10 +41,12 @@ def testRawCall(self):

response_after = sess.read()
self.assertIsInstance(response_after, self.requests.models.Response)
self.assertNotIn(
"We haven't received any JSON data", str(sess.get_cassette().storage_object)
message = (
"Did not attempt to load JSON data because the request "
"Content-Type was not 'application/json'."
)
self.assertIn("We haven't received any JSON data", response_after.text)
self.assertNotIn(message, str(sess.get_cassette().storage_object))
self.assertIn(message, response_after.text)

@unittest.skipIf(not network_connection_available(), "No network connection")
def testExecuteWrapper(self):
Expand Down

0 comments on commit 6bf3ffb

Please sign in to comment.