39ba2174678ff3e87d223dd11fb45d7474fd49b9,backend/application_test.py,TensorBoardApplcationConstructionTest,testExceptions,#TensorBoardApplcationConstructionTest#,486

Before Change



    // Fails if there is an unnamed plugin
    with self.assertRaises(ValueError):
      plugins = [UnnamedPlugin()]
      application.TensorBoardWSGIApp(logdir, plugins, multiplexer, 0)

    // Fails if there are two plugins with same name
    with self.assertRaises(ValueError):

After Change



    // Fails if there are two plugins with same name
    with self.assertRaises(ValueError):
      plugins = [
          FakePlugin(plugin_name="foo", is_active_value=True),
          FakePlugin(plugin_name="foo", is_active_value=True),
      ]
      application.TensorBoardWSGIApp(logdir, plugins, multiplexer, 0)


if __name__ == "__main__":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: tensorflow/tensorboard
Commit Name: 39ba2174678ff3e87d223dd11fb45d7474fd49b9
Time: 2017-04-06
Author: gardener@tensorflow.org
File Name: backend/application_test.py
Class Name: TensorBoardApplcationConstructionTest
Method Name: testExceptions


Project Name: tensorflow/tensorboard
Commit Name: 39ba2174678ff3e87d223dd11fb45d7474fd49b9
Time: 2017-04-06
Author: gardener@tensorflow.org
File Name: backend/application_test.py
Class Name: TensorboardServerTest
Method Name: setUp


Project Name: tensorflow/tensorboard
Commit Name: 8f375d792c45f60e07385fbb68f7ab537fd534d1
Time: 2017-04-10
Author: drpngx@users.noreply.github.com
File Name: backend/application_test.py
Class Name: TensorBoardApplcationConstructionTest
Method Name: testExceptions


Project Name: tensorflow/tensorboard
Commit Name: c56a25dc01bdd6a1c1af6bada6a2ba30f3b26fa4
Time: 2017-04-10
Author: gardener@tensorflow.org
File Name: backend/application_test.py
Class Name: TensorBoardApplcationConstructionTest
Method Name: testExceptions


Project Name: tensorflow/tensorboard
Commit Name: a6f481ad1c853d60c594cb346e7c28ccd1f08dc6
Time: 2017-04-07
Author: rohan100jain@gmail.com
File Name: backend/application_test.py
Class Name: TensorboardServerTest
Method Name: setUp


Project Name: tensorflow/tensorboard
Commit Name: a6f481ad1c853d60c594cb346e7c28ccd1f08dc6
Time: 2017-04-07
Author: rohan100jain@gmail.com
File Name: backend/application_test.py
Class Name: TensorBoardApplcationConstructionTest
Method Name: testExceptions