Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 14... Línea 14...
14
// You should have received a copy of the GNU General Public License
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
Línea 16... Línea 16...
16
 
16
 
Línea -... Línea 17...
-
 
17
namespace core_course\analytics;
-
 
18
 
17
namespace core_course\analytics;
19
use core_analytics\tests\mlbackend_helper_trait;
Línea 18... Línea 20...
18
 
20
 
19
defined('MOODLE_INTERNAL') || die();
21
defined('MOODLE_INTERNAL') || die();
20
 
22
 
Línea 29... Línea 31...
29
 * @package   core_course
31
 * @package   core_course
30
 * @category  test
32
 * @category  test
31
 * @copyright 2017 David Monllaó {@link http://www.davidmonllao.com}
33
 * @copyright 2017 David Monllaó {@link http://www.davidmonllao.com}
32
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
34
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
33
 */
35
 */
34
class indicators_test extends \advanced_testcase {
36
final class indicators_test extends \advanced_testcase {
-
 
37
    use mlbackend_helper_trait;
Línea 35... Línea 38...
35
 
38
 
36
    /**
39
    /**
37
     * test_no_teacher
40
     * test_no_teacher
38
     *
41
     *
Línea 314... Línea 317...
314
     * @return void
317
     * @return void
315
     */
318
     */
316
    public function test_activities_due(): void {
319
    public function test_activities_due(): void {
317
        global $DB;
320
        global $DB;
Línea -... Línea 321...
-
 
321
 
-
 
322
        if (!self::is_mlbackend_python_configured()) {
-
 
323
            $this->markTestSkipped('mlbackend_python is not configured.');
-
 
324
        }
318
 
325
 
319
        $this->resetAfterTest(true);
326
        $this->resetAfterTest(true);
Línea 320... Línea 327...
320
        $this->setAdminuser();
327
        $this->setAdminuser();
321
 
328