diff --git a/apps/taskman/tests/test_flaw_model_integration.py b/apps/taskman/tests/test_flaw_model_integration.py index 775e76c6f..6b421724a 100644 --- a/apps/taskman/tests/test_flaw_model_integration.py +++ b/apps/taskman/tests/test_flaw_model_integration.py @@ -129,6 +129,7 @@ def mock_create_or_update_task(self, flaw): assert response.status_code == 201 assert sync_count == 1 + # TODO no diff from serializer and especially no save def test_update_api(self, monkeypatch, auth_client, test_osidb_api_uri): sync_count = 0 diff --git a/osidb/serializer.py b/osidb/serializer.py index 0a7d88cb9..51cc8e4c6 100644 --- a/osidb/serializer.py +++ b/osidb/serializer.py @@ -933,6 +933,7 @@ def update(self, instance, validated_data): # and validate if an important change were made forcing a sync when it is needed updated_instance = super().update(instance, validated_data) if JIRA_TASKMAN_AUTO_SYNC_FLAW: + # TODO no diff updated_instance.tasksync(jira_token=self.get_jira_token()) return updated_instance