Convert the internal:counters Element to internal.counters following
the new data model.
# add an element for counters if it doesn't exist
if "counters" not in universe.categories.get("internal", {}):
- Element("internal:counters", universe, old_style=True)
+ Element("internal.counters", universe)
# update the log every now and then
if not universe.categories["internal"]["counters"].get("mark"):
test_show_file = (
(2, "> ", "show file %s" %
os.path.join(os.getcwd(), "data/internal.yaml")),
- (2, "These are the nodes in the.*file:.*internal:counters.*> ", ""),
+ (2, r'These are the nodes in the.*file:.*internal\.counters.*> ', ""),
)
test_show_element = (