Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !664

Allow not to request instance in a test.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Carlos Ramos Carreño requested to merge vnmabus/slapos.core:feature/slapos_test_noinstance into master Aug 14, 2024
  • Overview 17
  • Commits 3
  • Pipelines 0
  • Changes 1

This adds the request_instance class variable to SlapOSInstanceTestCase. If this variable is false, no instance will be requested.

I need this feature in order to create tests for components that are not supposed to have a software release.

Note: As I needed to add a new class variable, I tried to follow the "Boy Scout rule" and clean a bit the class variables (in a separate commit). If that is not appropriate, or I did not made the right choices, please tell me.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/slapos_test_noinstance
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7