Home
last modified time | relevance | path

Searched refs:cat_to_opts (Results 1 – 6 of 6) sorted by relevance

/dports/news/sabnzbdplus/SABnzbd-3.3.0/tests/
H A Dtest_misc.py75 assert ("*", 3, "None", NORMAL_PRIORITY) == misc.cat_to_opts("*")
76 assert ("*", 3, "None", NORMAL_PRIORITY) == misc.cat_to_opts("Nonsense")
77 assert ("*", 1, "None", NORMAL_PRIORITY) == misc.cat_to_opts("*", pp=1)
78 assert ("*", 1, "test.py", NORMAL_PRIORITY) == misc.cat_to_opts("*", pp=1, script="test.py")
81 assert ("movies", 3, "test.py", HIGH_PRIORITY) == misc.cat_to_opts("movies")
82 assert ("movies", 1, "test.py", HIGH_PRIORITY) == misc.cat_to_opts("movies", pp=1)
83 …assert ("movies", 1, "not_test.py", HIGH_PRIORITY) == misc.cat_to_opts("movies", pp=1, script="not…
84 …assert ("movies", 3, "test.py", FORCE_PRIORITY) == misc.cat_to_opts("movies", priority=FORCE_PRIOR…
89 assert ("software", 3, "None", NORMAL_PRIORITY) == misc.cat_to_opts("software")
90 …assert ("software", 3, "None", FORCE_PRIORITY) == misc.cat_to_opts("software", priority=FORCE_PRIO…
/dports/news/sabnzbdplus/SABnzbd-3.3.0/sabnzbd/
H A Drss.py34 from sabnzbd.misc import cat_convert, wildcard_to_re, cat_to_opts, match_str, from_units, int_conv,…
385 myCat, catPP, catScript, catPrio = cat_to_opts(myCat)
H A Durlgrabber.py324 nzo.cat, _, nzo.script, _ = misc.cat_to_opts(nzo.cat, script=nzo.script)
H A Dnzbstuff.py53 cat_to_opts,
811 self.cat, pp_tmp, self.script, priority = cat_to_opts(cat, pp, script, self.priority)
859 self.cat, pp, self.script, priority = cat_to_opts(cat, pp, script, priority)
1349 prio = cat_to_opts(cat)[3]
H A Dnzbqueue.py31 from sabnzbd.misc import exit_sab, cat_to_opts, int_conv, caller_name, cmp, safe_lower
292 nzo.cat, pp, nzo.script, prio = cat_to_opts(cat)
H A Dmisc.py142 def cat_to_opts(cat, pp=None, script=None, priority=None) -> Tuple[str, int, str, int]: function