File: conftest.py

package info (click to toggle)
pyuvm 4.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 992 kB
  • sloc: python: 8,662; makefile: 238; vhdl: 206; sh: 7
file content (11 lines) | stat: -rw-r--r-- 259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import pytest

from pyuvm.s13_predefined_component_classes import uvm_component, uvm_root


@pytest.fixture()
def initialize_pyuvm(request):
    uvm_component.component_dict.clear()
    uvm_root.component_dict.clear()
    uvm_root.clear_singletons()
    pass