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
| describe.only('maxBounds defined on map', function () { | |
| chai.should(); | |
| var a, b; | |
| afterEach(function () { | |
| a.remove(); | |
| b.remove(); | |
| }); |
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
| model | diskSpace | radius | |
|---|---|---|---|
| DE431 | 8 | 8 | |
| DD342 | 16 | 18 |
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
| # models.py | |
| class NamedFloat(models.Model): | |
| col1 = models.CharField(max_length=1, primary_key=True) | |
| col2 = models.FloatField(blank=True, null=True) | |
| # test: | |
| @pytest.mark.django_db | |
| def test_floatfield(): | |
| class Table(tables.Table): |
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
| [ removed some py.test stack frames] | |
| File "/home/jieter/workspace/django-tables2/tests/test_models.py", line 481, in test_model__str__calls | |
| html = table.as_html(build_request()) | |
| File "/home/jieter/workspace/django-tables2/django_tables2/tables.py", line 394, in as_html | |
| return template.render(context) | |
| File "/home/jieter/.virtualenvs/django-tables2/lib/python3.6/site-packages/django/template/backends/django.py", line 66, in render | |
| return self.template.render(context) | |
| File "/home/jieter/.virtualenvs/django-tables2/lib/python3.6/site-packages/django/template/base.py", line 207, in render | |
| return self._render(context) |
OlderNewer