  
  
  class TestBstSuccessor(object):
  
      @raises(Exception)
      def test_bst_successor_empty(self):
          bst_successor = BstSuccessor()
          bst_successor.get_next(None)
  
      def test_bst_successor(self):
 
</s> remove class TestBstSuccessor(object):
 </s> add class TestBstSuccessor(unittest.TestCase): </s> remove from nose.tools import assert_equal
from nose.tools import raises
 </s> add import unittest </s> remove     @raises(Exception)
 </s> add  </s> remove         assert_equal(bst_successor.get_next(nodes[4]), 5)
        assert_equal(bst_successor.get_next(nodes[5]), 6)
        assert_equal(bst_successor.get_next(nodes[8]), 9)
        assert_equal(bst_successor.get_next(nodes[15]), None)
 </s> add         self.assertEqual(bst_successor.get_next(nodes[4]), 5)
        self.assertEqual(bst_successor.get_next(nodes[5]), 6)
        self.assertEqual(bst_successor.get_next(nodes[8]), 9)
        self.assertEqual(bst_successor.get_next(nodes[15]), None) </s> remove         validate_bst(None)
 </s> add         bst = BstValidate(None)
        bst.validate()
  
  
  class TestBstSuccessor(object):
  

      def test_bst_successor_empty(self):
          bst_successor = BstSuccessor()
          bst_successor.get_next(None)
  
      def test_bst_successor(self):
keep keep keep keep replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/bst_successor/test_bst_successor.py