Created
August 27, 2014 20:29
-
-
Save muhammad-ammar/833ee7b0ea93a84c1ec2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import unittest | |
from nose.plugins.attrib import attr | |
@attr('shard_1') | |
class FirstTest(unittest.TestCase): | |
def test_f11(self): | |
print >> sys.stderr, 'test_f11' | |
def test_f12(self): | |
print >> sys.stderr, 'test_f12' | |
class SecondTest(unittest.TestCase): | |
def test_f21(self): | |
print >> sys.stderr, 'test_f21' | |
def test_f22(self): | |
print >> sys.stderr, 'test_f22' | |
@attr('shard_2') | |
class ThirdTest(unittest.TestCase): | |
def test_f31(self): | |
print >> sys.stderr, 'test_f31' | |
def test_f32(self): | |
print >> sys.stderr, 'test_f32' | |
class FourthTest(unittest.TestCase): | |
def test_f41(self): | |
print >> sys.stderr, 'test_f41' | |
def test_f42(self): | |
print >> sys.stderr, 'test_f42' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment