File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- # We import some fixtures that are unused. Disable that too.
5
- # pylint:disable=unused-import
6
-
7
4
"""Imported by pytest at the start of every test session.
8
5
9
6
# Fixture Goals
25
22
import inspect
26
23
import json
27
24
import os
28
- import re
29
25
import shutil
30
26
import sys
31
27
import tempfile
32
28
from pathlib import Path
33
- from typing import Dict
34
29
35
30
import pytest
36
31
57
52
58
53
59
54
METRICS = get_metrics_logger ()
60
- PHASE_REPORT_KEY = pytest .StashKey [Dict [str , pytest .CollectReport ]]()
55
+ PHASE_REPORT_KEY = pytest .StashKey [dict [str , pytest .CollectReport ]]()
61
56
62
57
63
58
def pytest_addoption (parser ):
@@ -456,19 +451,13 @@ def rootfs_rw():
456
451
457
452
@pytest .fixture
458
453
def uvm_plain (microvm_factory , guest_kernel_linux_5_10 , rootfs ):
459
- """Create a vanilla VM, non-parametrized
460
- kernel: 5.10
461
- rootfs: Ubuntu 24.04
462
- """
454
+ """Create a vanilla VM, non-parametrized"""
463
455
return microvm_factory .build (guest_kernel_linux_5_10 , rootfs )
464
456
465
457
466
458
@pytest .fixture
467
459
def uvm_plain_rw (microvm_factory , guest_kernel_linux_5_10 , rootfs_rw ):
468
- """Create a vanilla VM, non-parametrized
469
- kernel: 5.10
470
- rootfs: Ubuntu 24.04
471
- """
460
+ """Create a vanilla VM, non-parametrized"""
472
461
return microvm_factory .build (guest_kernel_linux_5_10 , rootfs_rw )
473
462
474
463
You can’t perform that action at this time.
0 commit comments