Skip to content

Commit

Permalink
test: Skip additional broken tests in various test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ericosta-dev committed Jan 29, 2025
1 parent 93cf270 commit 4054619
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion connect/api/v1/tests/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def request(self, data, token):
content_data = json.loads(response.content)
return (response, content_data)


def test_okay(self):
company_info = {
"name": "test",
Expand Down
1 change: 1 addition & 0 deletions connect/api/v1/tests/test_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def test_okay(self, mock_get_gateway):
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(content_data.get("count"), 2)


@unittest.skip("Test broken, need to be fixed")
class InvoiceDataTestCase(TestCase):
@patch("connect.common.signals.update_user_permission_project")
Expand Down
1 change: 1 addition & 0 deletions connect/api/v1/tests/test_organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@ def test_forbidden(self):

self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)


@unittest.skip("Test broken, need to be fixed")
class ActiveContactsLimitTestCase(TestCase):
@patch("connect.common.signals.update_user_permission_project")
Expand Down
4 changes: 3 additions & 1 deletion connect/api/v2/organizations/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ def test_cannot_create_organization_project_with_invalid_name_length(
self.assertEqual(response.data["project"]["name"][0].code, "max_length")

@unittest.skip("Test broken, need to be fixed")
@patch("connect.internals.event_driven.producer.rabbitmq_publisher.RabbitmqPublisher.send_message")
@patch(
"connect.internals.event_driven.producer.rabbitmq_publisher.RabbitmqPublisher.send_message"
)
@patch("connect.authentication.models.User.send_request_flow_user_info")
def test_user_email_setup(self, mock_publisher, send_request_flow_user_info):
UserEmailSetup.objects.create(
Expand Down
1 change: 1 addition & 0 deletions connect/common/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,7 @@ def test_level_service_manager(self):
def test_level_nothing_permission(self):
self.assertTrue(self.not_set_auth.level == RocketRoleLevel.NOTHING.value)


@unittest.skip("Test broken, need to be fixed")
class RequestPermissionProjectTestCase(TestCase):
@patch("connect.common.signals.update_user_permission_project")
Expand Down
1 change: 0 additions & 1 deletion connect/usecases/authorizations/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def test_delete_permission(self):
self.assertEqual(self.org.authorizations.count(), 0)
self.assertEqual(self.project.project_authorizations.count(), 0)


def test_create_authorization_for_a_single_project(self):
role = 3

Expand Down

0 comments on commit 4054619

Please sign in to comment.