mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 13:01:07 -05:00
PkgInfo: skip 'archlinux' and 'archaur' tests; the servers very often time out!
This commit is contained in:
parent
094b9a332d
commit
67c40b5974
@ -1,5 +1,5 @@
|
|||||||
###
|
###
|
||||||
# Copyright (c) 2014-2016, James Lu
|
# Copyright (c) 2014-2017, James Lu
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@ -29,6 +29,7 @@
|
|||||||
###
|
###
|
||||||
|
|
||||||
from supybot.test import *
|
from supybot.test import *
|
||||||
|
import unittest
|
||||||
|
|
||||||
class PkgInfoTestCase(PluginTestCase):
|
class PkgInfoTestCase(PluginTestCase):
|
||||||
plugins = ('PkgInfo',)
|
plugins = ('PkgInfo',)
|
||||||
@ -50,14 +51,15 @@ class PkgInfoTestCase(PluginTestCase):
|
|||||||
self.assertRegexp('vlist debian bash', 'Found [1-9][0-9]* '
|
self.assertRegexp('vlist debian bash', 'Found [1-9][0-9]* '
|
||||||
'results: (.*?\(.*?\))+')
|
'results: (.*?\(.*?\))+')
|
||||||
|
|
||||||
|
@unittest.skip("Remote server is too unreliable (2017-02-23)")
|
||||||
def testArchLinux(self):
|
def testArchLinux(self):
|
||||||
self.assertError('archlinux afdsfbjeiog')
|
self.assertError('archlinux afdsfbjeiog')
|
||||||
self.assertNotError('archlinux bash')
|
self.assertNotError('archlinux bash')
|
||||||
self.assertRegexp('archlinux pacman --exact',
|
self.assertRegexp('archlinux pacman --exact',
|
||||||
'Found 1.*?pacman')
|
'Found 1.*?pacman')
|
||||||
|
|
||||||
|
@unittest.skip("Remote server is too unreliable (2017-02-23)")
|
||||||
def testArchAUR(self):
|
def testArchAUR(self):
|
||||||
self.assertError('archaur wjoitgjwotgjv')
|
|
||||||
self.assertRegexp('archaur yaourt', 'Found [1-9][0-9]* results:'
|
self.assertRegexp('archaur yaourt', 'Found [1-9][0-9]* results:'
|
||||||
'.*?yaourt.*?')
|
'.*?yaourt.*?')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user