Skip to content
Snippets Groups Projects
signal.py 261 B
Newer Older
  • Learn to ignore specific revisions
  • Kevin Scott's avatar
    Kevin Scott committed
    from b_asic import Signal
    
    
    @pytest.fixture
    def signal():
    
        """Return a signal with no connections."""
    
    Kevin Scott's avatar
    Kevin Scott committed
        return Signal()
    
    
    @pytest.fixture
    def signals():
    
        """Return 3 signals with no connections."""
    
    Ivar Härnqvist's avatar
    Ivar Härnqvist committed
        return [Signal() for _ in range(0, 3)]