def test_display_value_converts_model_name(self): self.assertEqual('Tree', display_name(Tree()))
def test_display_value_passes_string_through(self): self.assertEqual('FooBAR', display_name('FooBAR'))
def test_display_value_converts_plot_model(self): self.assertEqual('Planting Site', display_name(Plot()))
def test_display_value_converts_string_plot(self): self.assertEqual('Planting Site', display_name('plot'))
def test_display_value_converts_string_plot(self): self.assertEqual('Planting Site', display_name('Plot'))
def test_display_value_passes_string_through(self): self.assertEqual("FooBAR", display_name("FooBAR"))
def test_display_value_converts_string_plot(self): self.assertEqual("Planting Site", display_name("plot"))