Skip to content

Commit

Permalink
test: remove SourceController dependency in IdentityController tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Peterson444 committed Jan 15, 2025
1 parent 0f59d3c commit 89b8c03
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions subiquity/server/controllers/tests/test_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from subiquity.server.autoinstall import AutoinstallError
from subiquity.server.controllers.filesystem import FilesystemController
from subiquity.server.controllers.identity import IdentityController
from subiquity.server.controllers.source import SourceController
from subiquitycore.tests import SubiTestCase
from subiquitycore.tests.mocks import make_app
from subiquitycore.tests.parameterized import parameterized
Expand All @@ -44,8 +43,6 @@ def setUp(self):
self.app.opts.bootloader = False
self.app.controllers.Filesystem = FilesystemController(self.app)
self.ic = IdentityController(self.app)
self.app.opts.source_catalog = "examples/sources/install.yaml"
self.app.controllers.Source = SourceController(self.app)
self.ic.model.user = None

# Test cases for 4a1. Copied for 4a2 but all cases should be valid for desktop.
Expand Down

0 comments on commit 89b8c03

Please sign in to comment.