Tips

Diff

To control the maximum length of diffs output by assert methods use maxDiff:

def setUp(self):
    self.maxDiff = None

# or
class MyTest(unittest.TestCase):
    maxDiff = None

Skip Test

try:
    ...
except:
    self.skipTest('Selenium server not available. Build marked UNSTABLE')