Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/backend-api/src/tests/base/test_sk_logic_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import importlib
import sys
import types
from typing import Type
from unittest.mock import MagicMock

import pytest
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/components/batchHistoryPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect, useRef } from "react";

import { useDispatch, useSelector } from 'react-redux';
import { useDispatch } from 'react-redux';
import { Card, Spinner, Tooltip } from "@fluentui/react-components";
import { useNavigate } from "react-router-dom";
import ConfirmationDialog from "../commonComponents/ConfirmationDialog/confirmationDialogue";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def _run():

def test_create_async_instance_with_callable_factory():
async def _run():
ctx = AppContext().add_async_singleton(_AsyncSvc, lambda: _AsyncSvc())
ctx = AppContext().add_async_singleton(_AsyncSvc, _AsyncSvc)
a = await ctx.get_service_async(_AsyncSvc)
Comment on lines 119 to 122
assert isinstance(a, _AsyncSvc)
assert a.entered is True
Expand Down Expand Up @@ -151,7 +151,7 @@ async def _run():


def test_create_instance_with_factory_callable():
ctx = AppContext().add_singleton(_S, lambda: _S())
ctx = AppContext().add_singleton(_S, _S)
a = ctx.get_service(_S)
assert isinstance(a, _S)
Comment on lines 153 to 156

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def _go():
try:
await task
except (asyncio.CancelledError, Exception):
pass
pass # Expected during task cancellation cleanup
Comment on lines 189 to +192

_run(_go())

Expand Down
Loading