Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Testing Be Assertive assertIn

Casey Huckel
PLUS
Casey Huckel
Courses Plus Student 4,257 Points

What's wrong with this one?

See code's attached

Chris Freeman
Chris Freeman
Treehouse Moderator 68,457 Points

What's wrong is even though you clicked the button to attached your code, it wasn't added. Sorry, system glitch. Could you please manually post it? Thanks.

2 Answers

Casey Huckel
PLUS
Casey Huckel
Courses Plus Student 4,257 Points

import unittest

from string_fun import get_anagrams

class AnagramTests(unittest.TestCase): def test_in_anagrams(self): self.assertIn("treehouse", "house")

Casey Huckel
PLUS
Casey Huckel
Courses Plus Student 4,257 Points

Nevermind I figured it out. Thanks for your willingness to help.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,457 Points

Great! post your solution and mark it Best Answer!