예제 #1
0
    def test_can_get_class_with_more_levels(self):
        from holmes.models.review import Review

        loaded = get_class("holmes.models.review.Review")

        expect(loaded).to_equal(Review)
예제 #2
0
    def test_can_get_class(self):
        from Queue import Queue

        loaded = get_class("Queue.Queue")
        expect(loaded).to_equal(Queue)