Commit b541d119 authored by Benjamin Winger's avatar Benjamin Winger

Added atom test as initial example and to stop pytest from failing

parent 0cd2001c
Pipeline #60255189 (#53) passed with stage
in 46 seconds
import pytest
from ..atom import Atom, InvalidAtom
def test_invalid():
with pytest.raises(InvalidAtom):
Atom("foo/bar_baz")
def test_valid():
Atom("foo/bar-baz-1.0.20.3-r123::foo[-a,b?,!c?,c]")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment