Marcin Cieślak před 1 rokem
committed by GitHub
rodič
revize
0e509bf691
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. +3
    -0
      tests/test_wikicode.py

+ 3
- 0
tests/test_wikicode.py Zobrazit soubor

@@ -23,6 +23,7 @@ Tests for the Wikicode class, which manages a list of nodes.
"""

from functools import partial
import pickle
import re
from types import GeneratorType

@@ -58,6 +59,8 @@ def test_nodes():
assert ["abc", "{{def}}"] == code.nodes
with pytest.raises(ValueError):
code.__setattr__("nodes", object)
P = pickle.dumps(code)
pickle.loads(P)


def test_get():


Načítá se…
Zrušit
Uložit