Exemplo n.º 1
0
 def test_doesnt_validate_document_due_to_env_var(self, check_integrity, monkeypatch, test_plot):
     monkeypatch.setenv("BOKEH_VALIDATE_DOC", "false")
     with ben._ModelInEmptyDocument(test_plot):
         pass
     assert not check_integrity.called
Exemplo n.º 2
0
 def test_doesnt_validate_document_due_to_env_var(self, check_integrity,
                                                  monkeypatch, test_plot):
     monkeypatch.setenv("BOKEH_VALIDATE_DOC", "false")
     with ben._ModelInEmptyDocument(test_plot):
         pass
     assert not check_integrity.called
Exemplo n.º 3
0
 def test_validates_document_by_default(self, check_integrity, test_plot):
     with ben._ModelInEmptyDocument(test_plot):
         pass
     assert check_integrity.called
Exemplo n.º 4
0
 def test_validates_document_by_default(self, check_integrity, test_plot):
     with ben._ModelInEmptyDocument(test_plot):
         pass
     assert check_integrity.called