def test_build_using_webpack_command(self):

    def mock_check_call(cmd, **unused_kwargs):
        self.assertEqual(cmd, ('%s --config %s' % (build.WEBPACK_FILE, build.WEBPACK_PROD_CONFIG)))
    with self.swap(subprocess, 'check_call', mock_check_call):
        build.build_using_webpack()
def test_build_using_webpack_command(self):

    def mock_check_call(cmd, **unused_kwargs):
        self.assertEqual(cmd, ('%s --config %s' % (build.WEBPACK_FILE, build.WEBPACK_PROD_CONFIG)))
    with self.swap(subprocess, 'check_call', mock_check_call):
        build.build_using_webpack()