[moin-devel] sample data for tests

Kent Watsen kent+moin at watsen.net
Tue Jan 15 07:56:00 EST 2019


Hiya, new guy here.

I'm wanting to do something with PagenameList, or maybe 
MacroPageLinkListBase, but first I notice there are no py.tests, so I 
figure it might be good to add some...

Immediately, I notice that MacroPageLinkListBase.get_item_names() 
returns an empty list in the py.test environment, but it returns a 
non-empty list in running server.

How to provide storage data for tests?B  Can the "sample" data (./m 
sample) be used?

My tests will extend to testing the ACLs on data, so please consider 
that as well.

Kent



More information about the moin-devel mailing list