github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/source.toolkit.fluxcd.io/Bucket/actions/action_test.yaml (about)

     1  discoveryTests:
     2  - inputPath: testdata/initial_bucket.yaml
     3    result:
     4      - name: reconcile
     5        disabled: false
     6      - name: suspend
     7        disabled: false
     8      - name: resume
     9        disabled: true
    10  - inputPath: testdata/suspended_bucket.yaml
    11    result:
    12      - name: reconcile
    13        disabled: true
    14      - name: suspend
    15        disabled: true
    16      - name: resume
    17        disabled: false
    18  - inputPath: testdata/resumed_bucket.yaml
    19    result:
    20      - name: reconcile
    21        disabled: false
    22      - name: suspend
    23        disabled: false
    24      - name: resume
    25        disabled: true
    26  actionTests:
    27  - action: reconcile
    28    inputPath: testdata/initial_bucket.yaml
    29    expectedOutputPath: testdata/reconciled_bucket.yaml
    30  - action: suspend
    31    inputPath: testdata/initial_bucket.yaml
    32    expectedOutputPath: testdata/suspended_bucket.yaml
    33  - action: resume
    34    inputPath: testdata/suspended_bucket.yaml
    35    expectedOutputPath: testdata/resumed_bucket.yaml