Modulo:FictionTV/test: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m fix tab, ordine test
m -sandbox
Riga 3:
 
function p:test_webserie()
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
-- webserie non è attualmente categorizzata per anno
{ 'tipofiction=webserie|annoprimatv=[[2010]]', '' },
Riga 12:
 
function p:test_miniserie_TV()
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
{ 'tipofiction=miniserie TV|annoprimatv=[[2010]]', '[[:Categoria:Miniserie televisive del 2010]]' },
-- il wikilink è obbligatorio
Riga 20:
 
function p:test_film_TV()
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
{ 'tipofiction=film TV|annoprimatv=[[2010]]', '[[:Categoria:Film per la televisione del 2010]]' },
-- il wikilink è obbligatorio
Riga 28:
 
function p:test_serie_TV()
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
-- anno singolo
{ 'tipofiction=serie TV|annoprimatv=[[2010]]', '[[:Categoria:Serie televisive iniziate nel 2010]] [[:Categoria:Serie televisive terminate nel 2010]]' },
Riga 48:
 
function p:test_serial_TV()
self:preprocess_equals_many("{{#invoke:FictionTV/sandbox|categorie_anno|debug=1|", "}}", {
-- anno singolo
{ 'tipofiction=serial TV|annoprimatv=[[2010]]', '[[:Categoria:Serial televisivi iniziati nel 2010]] [[:Categoria:Serial televisivi terminati nel 2010]]' },