Skip to content

Commit

Permalink
Comments resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh committed Nov 2, 2023
1 parent a7b31ee commit c832d30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions apps/sage300/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from apps.workspaces.models import Workspace, Sage300Credential
from apps.sage300.helpers import sync_dimensions, check_interval_and_sync_dimension
from apps.mappings.imports.tasks import trigger_import_via_schedule

logger = logging.getLogger(__name__)
logger.level = logging.INFO
Expand Down Expand Up @@ -80,7 +79,6 @@ class Sage300FieldSerializer(serializers.Serializer):

def format_sage300_fields(self, workspace_id):

trigger_import_via_schedule(1, 'ACCOUNT', 'CATEGORY', False)
attribute_types = [
"VENDOR",
"ACCOUNT",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sage300/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_sync_dimensions(api_client, test_connection, mocker, create_temp_worksp
assert response['message'] == 'Sage300 credentials not found / invalid in workspace'


def test_sage300_fields(api_client, test_connection, mocker, create_temp_workspace, add_sage300_creds):
def test_sage300_fields(api_client, test_connection):
workspace_id = 1

access_token = test_connection.access_token
Expand Down

0 comments on commit c832d30

Please sign in to comment.